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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user