]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/widgets/dirpicker.cpp
added support for wxCAL_SHOW_WEEK_NUMBERS to generic version of wxCalendarCtrl (...
[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()