From cb3e9e32523c7cf4c994e85bc8d00515118366dc Mon Sep 17 00:00:00 2001 From: Rafael Kitover Date: Fri, 8 Jun 2018 13:58:19 -0400 Subject: [PATCH] pause on menu pulldown on windows only On Windows we still need to pause on menu pulldown until we figure out how to keep the game running, with the code disabled it still pauses and the audio loops. --- src/wx/wxvbam.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/wx/wxvbam.cpp b/src/wx/wxvbam.cpp index d7c4d934..14d4f080 100644 --- a/src/wx/wxvbam.cpp +++ b/src/wx/wxvbam.cpp @@ -600,9 +600,10 @@ EVT_DROP_FILES(MainFrame::OnDropFile) // keyboard game keys on mac, so we will disable it for now. // // On Winodws, there will still be a pause because of how the windows event -// model works, that needs to be investigated. +// model works, in addition the audio will loop with SDL, so we still pause on +// Windows, TODO: this needs to be fixed properly // -#if 0 +#ifndef __WXMSW__ EVT_MENU_OPEN(MainFrame::MenuPopped) EVT_MENU_CLOSE(MainFrame::MenuPopped) EVT_MENU_HIGHLIGHT_ALL(MainFrame::MenuPopped)