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