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:
@@ -174,7 +174,6 @@ MyScrolledWindow::MyScrolledWindow( wxWindow *parent, wxWindowID id,
|
||||
|
||||
mainsizer->Add( middlesizer, 1, wxEXPAND );
|
||||
|
||||
SetAutoLayout( true );
|
||||
SetSizer( mainsizer );
|
||||
}
|
||||
|
||||
@@ -421,7 +420,6 @@ MyFrame::MyFrame()
|
||||
topsizer->Add( m_log, 0, wxEXPAND );
|
||||
#endif // wxUSE_LOG
|
||||
|
||||
SetAutoLayout( true );
|
||||
SetSizer( topsizer );
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user