Remove unnecessary SetAutoLayout(true) calls
There is no need to call SetAutoLayout() explicitly after (or just before) calling SetSizer() with a valid sizer pointer, as SetSizer() already enables automatic layout, so just drop the useless calls. No real changes.
This commit is contained in:
@@ -326,7 +326,6 @@ bool wxHtmlHelpWindow::Create(wxWindow* parent, wxWindowID id,
|
||||
// The sizer for the whole top-level window.
|
||||
wxSizer *topWindowSizer = new wxBoxSizer(wxVERTICAL);
|
||||
SetSizer(topWindowSizer);
|
||||
SetAutoLayout(true);
|
||||
|
||||
#if wxUSE_TOOLBAR
|
||||
// toolbar?
|
||||
|
||||
Reference in New Issue
Block a user