mirror of
https://github.com/cookiengineer/audacity
synced 2026-03-02 01:44:25 +01:00
static CommandManager::Get()...
... not member functions of AudacityProject
This commit is contained in:
@@ -184,7 +184,7 @@ extern "C"
|
||||
case MenusRebuilt: {
|
||||
AudacityProject *p = GetActiveProject();
|
||||
wxASSERT(p != NULL);
|
||||
CommandManager *c = p->GetCommandManager();
|
||||
CommandManager *c = &CommandManager::Get( *p );
|
||||
wxASSERT(c != NULL);
|
||||
|
||||
wxMenuBar * pBar = p->GetMenuBar();
|
||||
|
||||
Reference in New Issue
Block a user