X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/137c8bde085d6d5b7c459902d2ea1a198ab48765..b2b0bee6d822b05fea419e8bf24ab4009cb17ac4:/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()