make wxChoice and wxComboBox sort in a case insensitive and locale adapted way, fixes #12351: Incorrect sort order in wxChoice / wxComboBox

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65342 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
2010-08-18 21:29:53 +00:00
parent 1aeaccf310
commit c272f12ff0
4 changed files with 92 additions and 5 deletions

View File

@@ -118,7 +118,7 @@ bool wxComboBox::Create( wxWindow *parent, wxWindowID id, const wxString& value,
}
if (HasFlag(wxCB_SORT))
m_strings = new wxSortedArrayString();
m_strings = new wxGtkCollatedArrayString();
GTKCreateComboBoxWidget();