X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/137c8bde085d6d5b7c459902d2ea1a198ab48765..cfa42cb87fa51b996b83edfe54cfed160248f474:/samples/widgets/clrpicker.cpp diff --git a/samples/widgets/clrpicker.cpp b/samples/widgets/clrpicker.cpp index 45b297b238..346a5ce263 100644 --- a/samples/widgets/clrpicker.cpp +++ b/samples/widgets/clrpicker.cpp @@ -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()