1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-02-07 20:22:13 +01:00

static AdornedRulerPanel::Get()...

... not member functions of AudacityProject
This commit is contained in:
Paul Licameli
2019-01-24 10:27:20 -05:00
parent d1ad8f55e0
commit 7bb71257ed
14 changed files with 93 additions and 77 deletions

View File

@@ -213,7 +213,7 @@ namespace{
AudacityProject::AttachedWindows::RegisteredFactory sKey{
[]( AudacityProject &project ) -> wxWeakRef< wxWindow > {
auto &ruler = *project.GetRulerPanel();
auto &ruler = AdornedRulerPanel::Get( project );
auto &viewInfo = ViewInfo::Get( project );
auto &window = project;
auto mainPage = window.GetMainPage();