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:
parent
6ecf2e38e9
commit
2afba65cb6
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user