remove/replace redundant SetAutoLayout() and Fit() calls, leave just SetSizer[AndFit]() ones (patch 1905759)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52525 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -146,8 +146,7 @@ public:
|
||||
wxALL,
|
||||
5 // Border
|
||||
);
|
||||
SetSizer(mainSizer);
|
||||
mainSizer->Fit(this);
|
||||
SetSizerAndFit(mainSizer);
|
||||
}
|
||||
|
||||
virtual bool TransferDataFromWindow()
|
||||
@@ -204,8 +203,7 @@ public:
|
||||
5 // Border
|
||||
);
|
||||
|
||||
SetSizer(mainSizer);
|
||||
mainSizer->Fit(this);
|
||||
SetSizerAndFit(mainSizer);
|
||||
}
|
||||
|
||||
// wizard event handlers
|
||||
@@ -314,8 +312,7 @@ public:
|
||||
wxTextCtrl* textCtrl = new wxTextCtrl(this, wxID_ANY, wxEmptyString, wxDefaultPosition, textSize, wxTE_MULTILINE);
|
||||
mainSizer->Add(textCtrl, 0, wxALL|wxEXPAND, 5);
|
||||
|
||||
SetSizer(mainSizer);
|
||||
mainSizer->Fit(this);
|
||||
SetSizerAndFit(mainSizer);
|
||||
}
|
||||
|
||||
// implement wxWizardPage functions
|
||||
|
Reference in New Issue
Block a user