]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/widgets/notebook.cpp
changes wxDirExists() to accept wxString instead of wxChar*, so that it can be used...
[wxWidgets.git] / samples / widgets / notebook.cpp
index 74ef9c3e69e5113ece148297b18e1ec013da7950..116ee5d91b6e88e8545f77c95f5d5bdb37aebb79 100644 (file)
@@ -295,8 +295,6 @@ void BookWidgetsPage::CreateContent()
 #endif // USE_ICONS_IN_BOOK
 
     SetSizer(sizerTop);
 #endif // USE_ICONS_IN_BOOK
 
     SetSizer(sizerTop);
-
-    sizerTop->Fit(this);
 }
 
 BookWidgetsPage::~BookWidgetsPage()
 }
 
 BookWidgetsPage::~BookWidgetsPage()