]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/controls/controls.cpp
remove/replace redundant SetAutoLayout() and Fit() calls, leave just SetSizer[AndFit...
[wxWidgets.git] / samples / controls / controls.cpp
index 236468c6cb09202e910cfd122ceb62dce4f60f9f..0b9b11546dc7e46dddf51e40c0e2ac8a27084a34 100644 (file)
@@ -1015,7 +1015,6 @@ MyPanel::MyPanel( wxFrame *frame, int x, int y, int w, int h )
 
     // sizer
     panel = new wxPanel(m_book);
-    panel->SetAutoLayout( true );
 
     wxBoxSizer *sizer = new wxBoxSizer( wxVERTICAL );