]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/widgets/slider.cpp
use wxFD_XXX instead of deprecated wxXXX in the documentation
[wxWidgets.git] / samples / widgets / slider.cpp
index 214be60ae14cc95fb0aa23f9cea743ea03897b1d..cf2af0159802e2a4608e65d908b3fd296a2c4845 100644 (file)
@@ -360,8 +360,6 @@ void SliderWidgetsPage::CreateContent()
 
     // final initializations
     SetSizer(sizerTop);
-
-    sizerTop->Fit(this);
 }
 
 // ----------------------------------------------------------------------------