From: Vadim Zeitlin Date: Sun, 16 Jul 2006 20:18:55 +0000 (+0000) Subject: don't grow the combobox vertically (this does make it tall under wxGTK2 even though... X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/6f002df40ee303636319c8863fce9ed5be3399e7 don't grow the combobox vertically (this does make it tall under wxGTK2 even though it has no effect under wxGTK1 and wxMSW) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40139 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/samples/widgets/combobox.cpp b/samples/widgets/combobox.cpp index 2ac76337af..14e4333caf 100644 --- a/samples/widgets/combobox.cpp +++ b/samples/widgets/combobox.cpp @@ -318,7 +318,7 @@ void ComboboxWidgetsPage::CreateContent() wxDefaultPosition, wxDefaultSize, 0, NULL, 0); - sizerRight->Add(m_combobox, 1, wxGROW | wxALL, 5); + sizerRight->Add(m_combobox, 0, wxGROW | wxALL, 5); sizerRight->SetMinSize(150, 0); m_sizerCombo = sizerRight; // save it to modify it later