1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-02-08 04:32:00 +01:00

static ToolManager::Get()...

... not member functions of AudacityProject
This commit is contained in:
Paul Licameli
2019-05-01 13:18:39 -04:00
parent 68e25f3b7d
commit 15dd230ee1
11 changed files with 170 additions and 138 deletions

View File

@@ -285,7 +285,7 @@ ScreenFrame::ScreenFrame(wxWindow * parent, wxWindowID id)
// because we've switched monitor mid play.
// Bug 383 - Resetting the toolbars is not wanted.
// Any that are invisible will be amde visible as/when needed.
//mContext.GetProject()->GetToolManager()->Reset();
//ToolManager::Get( mContext.project ).Reset();
Center();
}
@@ -568,7 +568,7 @@ void ScreenFrame::SizeMainWindow(int w, int h)
mContext.project.Maximize(false);
mContext.project.SetSize(16, 16 + top, w, h);
//Bug383 - Toolbar Resets not wanted.
//mContext.GetProject()->GetToolManager()->Reset();
//ToolManager::Get( mContext.project ).Reset();
}
void ScreenFrame::OnMainWindowSmall(wxCommandEvent & WXUNUSED(event))