]> git.saurik.com Git - wxWidgets.git/commitdiff
Fixed wxComboBox always sorted in all univ builds (see wxforum.shadonet.com/viewtopic...
authorWłodzimierz Skiba <abx@abx.art.pl>
Tue, 6 Feb 2007 12:12:10 +0000 (12:12 +0000)
committerWłodzimierz Skiba <abx@abx.art.pl>
Tue, 6 Feb 2007 12:12:10 +0000 (12:12 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44379 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

docs/changes.txt
src/univ/combobox.cpp

index ff0c93d7337ecd096df2dc6899f6b1650a93c4c8..62d85bec8a991244824dc30e87cf8bb3502dc415 100644 (file)
@@ -62,6 +62,10 @@ wxX11:
 
 - Don't crash in wxWindow dtor if the window hadn't been really Create()d
 
+wxUniv:
+
+- Fixed wxComboBox always sorted
+
 
 2.8.1
 -----
index 89130b4e3cc35fd1360f6d8758c712c4a53c70c9..febde2efc112c6b7910e102e55b076c8dc85947e 100644 (file)
@@ -122,8 +122,8 @@ bool wxComboListBox::Create(wxWindow* parent)
     if ( !wxListBox::Create(parent, wxID_ANY,
                             wxDefaultPosition, wxDefaultSize,
                             0, NULL,
-                            wxBORDER_SIMPLE | wxLB_INT_HEIGHT |
-                            m_combo->GetWindowStyle() & wxCB_SORT ? wxLB_SORT : 0) )
+                            wxBORDER_SIMPLE |
+                            ( m_combo->GetWindowStyle() & wxCB_SORT ? wxLB_SORT : 0 ) ) )
         return false;
 
     // we don't react to the mouse events outside the window at all