]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/widgets/clrpicker.cpp
Suppressed the themed border by defining GetDefaultBorder
[wxWidgets.git] / samples / widgets / clrpicker.cpp
index 45b297b2384a0ac71513a853614ef71b619fc5cf..346a5ce263324d13cff40b774a83b33ca9728f25 100644 (file)
@@ -168,7 +168,7 @@ void ColourPickerWidgetsPage::CreateContent()
     sz->Add(boxleft, 0, wxGROW|wxALL, 5);
     sz->Add(m_sizer, 1, wxGROW|wxALL, 5);
 
-    SetSizerAndFit(sz);
+    SetSizer(sz);
 }
 
 void ColourPickerWidgetsPage::CreatePicker()