Fix language panel glitch on Windows

On Windows, the languages displayed in the dropdown box of the language
panel selector are not in alphabetical order. This is caused by the
CBS_SORT window style, which is set by wxCB_SORT, having a ridiculous
sorting order. Remove the option to fix the language order and sort a
minor UI glitch.
This commit is contained in:
Jonathan Li 2015-06-14 17:11:50 +01:00
parent 62beb3aaf4
commit 29463b9e52
1 changed files with 1 additions and 1 deletions

View File

@ -113,7 +113,7 @@ Panels::LanguageSelectionPanel::LanguageSelectionPanel( wxWindow* parent, bool s
compiled[i].Printf( L"%s", m_langs[i].englishName.c_str() );
m_picker = new wxComboBox( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize,
size, compiled.GetPtr(), wxCB_READONLY | wxCB_SORT );
size, compiled.GetPtr(), wxCB_READONLY);
*this += 5;
*this += m_picker | pxSizerFlags::StdSpace();