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.
This commit is contained in:
Rafael Kitover 2018-06-08 13:58:19 -04:00
parent 1115be1284
commit cb3e9e3252
1 changed files with 3 additions and 2 deletions

View File

@ -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)