1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-04-20 13:10:24 +02:00

Pass AudacityProject * into preference panel factories

This commit is contained in:
Paul Licameli
2020-01-04 12:24:14 -05:00
parent 72f66b7096
commit c9a9c06bd0
29 changed files with 56 additions and 40 deletions

View File

@@ -96,7 +96,7 @@ bool ProjectsPrefs::Commit()
}
PrefsPanel::Factory
ProjectsPrefsFactory = [](wxWindow *parent, wxWindowID winid)
ProjectsPrefsFactory = [](wxWindow *parent, wxWindowID winid, AudacityProject *)
{
wxASSERT(parent); // to justify safenew
return safenew ProjectsPrefs(parent, winid);