]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/widgets/fontpicker.cpp
removed the menu item which could be used to remove the icon and leave the user witho...
[wxWidgets.git] / samples / widgets / fontpicker.cpp
index 3ea6f75e5ee1e73fc11f1c99cb65b7ee5c328f2c..d26fac62dc97f5ec7a2b1be392a21fce06142c83 100644 (file)
@@ -170,7 +170,7 @@ void FontPickerWidgetsPage::CreateContent()
     sz->Add(boxleft, 0, wxGROW|wxALL, 5);
     sz->Add(m_sizer, 1, wxGROW|wxALL, 5);
 
-    SetSizerAndFit(sz);
+    SetSizer(sz);
 }
 
 void FontPickerWidgetsPage::CreatePicker()