Make wxOwnerDrawnComboBox sorting identical to the MSW sorting (same as wxComboBox)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66398 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -545,7 +545,7 @@ int wxVListBoxComboPopup::Append(const wxString& item)
|
||||
|
||||
for ( i=0; i<strings.GetCount(); i++ )
|
||||
{
|
||||
if ( item.CmpNoCase(strings.Item(i)) < 0 )
|
||||
if ( item.CmpNoCase(strings.Item(i)) <= 0 )
|
||||
{
|
||||
pos = (int)i;
|
||||
break;
|
||||
|
Reference in New Issue
Block a user