X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/137c8bde085d6d5b7c459902d2ea1a198ab48765..f4f5d5697dc5e34a5582061dbd857d1cd4326f91:/samples/widgets/fontpicker.cpp diff --git a/samples/widgets/fontpicker.cpp b/samples/widgets/fontpicker.cpp index 3ea6f75e5e..d26fac62dc 100644 --- a/samples/widgets/fontpicker.cpp +++ b/samples/widgets/fontpicker.cpp @@ -170,7 +170,7 @@ void FontPickerWidgetsPage::CreateContent() sz->Add(boxleft, 0, wxGROW|wxALL, 5); sz->Add(m_sizer, 1, wxGROW|wxALL, 5); - SetSizerAndFit(sz); + SetSizer(sz); } void FontPickerWidgetsPage::CreatePicker()