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:
@@ -506,7 +506,7 @@ int wxVListBoxComboPopup::Append(const wxString& item)
|
|||||||
|
|
||||||
for ( i=0; i<strings.GetCount(); i++ )
|
for ( i=0; i<strings.GetCount(); i++ )
|
||||||
{
|
{
|
||||||
if ( item.Cmp(strings.Item(i)) < 0 )
|
if ( item.CmpNoCase(strings.Item(i)) < 0 )
|
||||||
{
|
{
|
||||||
pos = (int)i;
|
pos = (int)i;
|
||||||
break;
|
break;
|
||||||
|
Reference in New Issue
Block a user