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