]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/notebook/notebook.cpp
fix sizing of extra control
[wxWidgets.git] / samples / notebook / notebook.cpp
index 62dcd75b0acdee8272d7d14d3fd6c0e03eaff936..14f3fd951c3e98293b16a2811def5c8cdd719b0a 100644 (file)
@@ -332,7 +332,6 @@ MyFrame::MyFrame()
 
     m_panel->SetSizer(m_sizerFrame);
 
-    m_sizerFrame->Fit(this);
     m_sizerFrame->SetSizeHints(this);
 
     Centre(wxBOTH);