Use dictionary sort for wxListBox strings.
This should result in more expected, and more consistent with MSW, order of the items differing in case only. Also do the same for wxChoice in wxGTK1. Closes #16356. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76902 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -190,7 +190,7 @@ bool wxListBox::Create(wxWindow *parent,
|
||||
return false;
|
||||
|
||||
if ( IsSorted() )
|
||||
m_strings.sorted = new wxSortedArrayString;
|
||||
m_strings.sorted = new wxSortedArrayString(wxDictionaryStringSortAscending);
|
||||
else
|
||||
m_strings.unsorted = new wxArrayString;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user