]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/widgets/widgets.cpp
remove/replace redundant SetAutoLayout() and Fit() calls, leave just SetSizer[AndFit...
[wxWidgets.git] / samples / widgets / widgets.cpp
index 1e06e50c3bba8a54086be67da30bfc023b415dc8..1637eb113b841050f47c30b7d6eb9fc1f654936b 100644 (file)
@@ -448,7 +448,6 @@ WidgetsFrame::WidgetsFrame(const wxString& title)
 
     m_panel->SetSizer(sizerTop);
 
-    sizerTop->Fit(this);
     sizerTop->SetSizeHints(this);
 
 #if USE_LOG && !defined(__WXCOCOA__)