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:
@@ -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();
|
||||
|
||||
|
Reference in New Issue
Block a user