]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/widgets/toggle.cpp
use wxFD_XXX instead of deprecated wxXXX in the documentation
[wxWidgets.git] / samples / widgets / toggle.cpp
index 6c4734d7ab15c0e6c1da25041194d2ed2941d048..a44b1ff900c2a032d40880d0cf9bce6aa0d29388 100644 (file)
@@ -163,8 +163,6 @@ void ToggleWidgetsPage::CreateContent()
     Reset();
 
     SetSizer(sizerTop);
-
-    sizerTop->Fit(this);
 }
 
 void ToggleWidgetsPage::Reset()