diff --git a/samples/widgets/combobox.cpp b/samples/widgets/combobox.cpp index 7f1bf88a2f..6ab44a7109 100644 --- a/samples/widgets/combobox.cpp +++ b/samples/widgets/combobox.cpp @@ -298,7 +298,7 @@ void ComboboxWidgetsPage::CreateContent() wxSizer *sizerLeft = new wxBoxSizer(wxVERTICAL); sizerLeft->Add(sizerLeftTop); sizerLeft->AddSpacer(10); - sizerLeft->Add(sizerLeftBottom); + sizerLeft->Add(sizerLeftBottom, wxSizerFlags().Expand()); // middle pane wxStaticBox *box2 = new wxStaticBox(this, wxID_ANY,