]> git.saurik.com Git - wxWidgets.git/commitdiff
don't grow the combobox vertically (this does make it tall under wxGTK2 even though...
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 16 Jul 2006 20:18:55 +0000 (20:18 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 16 Jul 2006 20:18:55 +0000 (20:18 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40139 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

samples/widgets/combobox.cpp

index 2ac76337af76d209f2b99a49c6627040a3dc7e33..14e4333cafa8833859860689e7169c9382b58608 100644 (file)
@@ -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