Fixed wxComboBox always sorted in all univ builds (see wxforum.shadonet.com/viewtopic.php?p=53661)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44379 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
162f6b2aee
commit
750040fabb
@ -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
|
||||
-----
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user