1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-16 16:10:06 +02:00

Fix wx3 Windows build

This commit is contained in:
lllucius 2014-12-13 18:34:01 +00:00
parent 6ecf2e38e9
commit 2afba65cb6

View File

@ -922,10 +922,11 @@ void CommandManager::HandleMenuClose(wxMenuEvent &evt)
//
// This should go away (or at least be re-evaluated) when moving to wx3 as they've
// completely redesigned the accelerator table handling.
#if !wxCHECK_VERSION(3, 0, 0)
wxAcceleratorTable & at = const_cast<wxAcceleratorTable &>(GetActiveProject()->GetMenuBar()->GetAccelTable());
at = wxNullAcceleratorTable;
#endif
#endif
return;
}