1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-16 16:10:06 +02:00

Don't SetMinSize in ShuttleGui::StartNotebookPage...

... This could only affect the About dialog now, but does not have noticeable
effects.

StartNotebookPage will be reused for Export and Export Multiple dialogs, and
the effects of this SetMinSize call would be undesirable for them.
This commit is contained in:
Paul Licameli 2019-12-09 11:06:27 -05:00
parent 3b69a038c8
commit bb3159c758

View File

@ -1016,7 +1016,6 @@ wxNotebookPage * ShuttleGuiBase::StartNotebookPage( const wxString & Name )
mpParent = pPage;
pPage->SetSizer(mpSizer = safenew wxBoxSizer(wxVERTICAL));
PushSizer();
mpSizer->SetMinSize(250, 500);
// UpdateSizers();
return pPage;
}
@ -1039,7 +1038,6 @@ void ShuttleGuiBase::StartNotebookPage( const wxString & Name, wxNotebookPage *
mpParent = pPage;
pPage->SetSizer(mpSizer = safenew wxBoxSizer(wxVERTICAL));
PushSizer();
mpSizer->SetMinSize(250, 500);
// UpdateSizers();
}