From bb3159c7586410feed08061496f5fb0d9963715c Mon Sep 17 00:00:00 2001 From: Paul Licameli Date: Mon, 9 Dec 2019 11:06:27 -0500 Subject: [PATCH] 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. --- src/ShuttleGui.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/ShuttleGui.cpp b/src/ShuttleGui.cpp index cdec607bb..72bb0bfba 100644 --- a/src/ShuttleGui.cpp +++ b/src/ShuttleGui.cpp @@ -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(); }