]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/widgets/filepicker.cpp
use wxFD_XXX instead of deprecated wxXXX in the documentation
[wxWidgets.git] / samples / widgets / filepicker.cpp
index e9629fb02eb6f611d0641c6462c6652dc58d7c17..1246f2a5c52c1b3a5b497982b60a97b2a992a4f6 100644 (file)
@@ -191,7 +191,7 @@ void FilePickerWidgetsPage::CreateContent()
     sz->Add(boxleft, 0, wxGROW|wxALL, 5);
     sz->Add(m_sizer, 1, wxGROW|wxALL, 5);
 
-    SetSizerAndFit(sz);
+    SetSizer(sz);
 }
 
 void FilePickerWidgetsPage::CreatePicker()