mirror of
https://github.com/cookiengineer/audacity
synced 2026-03-06 06:31:07 +01:00
Pass AudacityProject * into preference panel factories
This commit is contained in:
@@ -188,7 +188,7 @@ void ModulePrefs::SetModuleStatus(const FilePath &fname, int iStatus){
|
||||
}
|
||||
|
||||
PrefsPanel::Factory
|
||||
ModulePrefsFactory = [](wxWindow *parent, wxWindowID winid)
|
||||
ModulePrefsFactory = [](wxWindow *parent, wxWindowID winid, AudacityProject *)
|
||||
{
|
||||
wxASSERT(parent); // to justify safenew
|
||||
return safenew ModulePrefs(parent, winid);
|
||||
|
||||
Reference in New Issue
Block a user