mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-24 06:10:09 +01:00
Do the separation of classes ProjectWindow and AudacityProject
This commit is contained in:
@@ -187,7 +187,7 @@ extern "C"
|
||||
CommandManager *c = &CommandManager::Get( *p );
|
||||
wxASSERT(c != NULL);
|
||||
|
||||
wxMenuBar * pBar = p->GetMenuBar();
|
||||
wxMenuBar * pBar = GetProjectFrame( *p ).GetMenuBar();
|
||||
wxASSERT(pBar != NULL );
|
||||
wxMenu * pMenu = pBar->GetMenu( 9 ); // Menu 9 is the Tools Menu.
|
||||
wxASSERT( pMenu != NULL );
|
||||
|
||||
Reference in New Issue
Block a user