1
0
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:
Paul Licameli
2019-04-26 17:17:04 -04:00
parent 805af452a4
commit 4ba4d0978b
23 changed files with 94 additions and 82 deletions

View File

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