mirror of https://github.com/PCSX2/pcsx2.git
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:
parent
62beb3aaf4
commit
29463b9e52
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue