Made sorting case-insensitive (to match wxComboBox behavior, backported from SVN trunk)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@61402 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Jaakko Salli
2009-07-11 07:08:44 +00:00
parent 116458be4e
commit 6b0546ba57

View File

@@ -506,7 +506,7 @@ int wxVListBoxComboPopup::Append(const wxString& item)
for ( i=0; i<strings.GetCount(); i++ )
{
if ( item.Cmp(strings.Item(i)) < 0 )
if ( item.CmpNoCase(strings.Item(i)) < 0 )
{
pos = (int)i;
break;