]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/widgets/dirpicker.cpp
removed dll export declaration for wxCStrData: it's unneeded because the class is...
[wxWidgets.git] / samples / widgets / dirpicker.cpp
index 949be6c803283b23afcd8b1c04d2346955e6b945..d9b97c967b67342204ff68ce35680879a114dd9f 100644 (file)
@@ -170,7 +170,7 @@ void DirPickerWidgetsPage::CreateContent()
     sz->Add(boxleft, 0, wxGROW|wxALL, 5);
     sz->Add(m_sizer, 1, wxGROW|wxALL, 5);
 
-    SetSizerAndFit(sz);
+    SetSizer(sz);
 }
 
 void DirPickerWidgetsPage::CreatePicker()