mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-11-15 18:50:32 +01:00
pcsx2:gui:wx3: wrong order of language in wizard
It seems wx3 remove all non alphanumeric character before the sorting A 0 was added to force default to be the first choice as expected
This commit is contained in:
1 parent
7328e55ee9
commit
8afd2edd1d
1 file changed
+8
-1
+8
-1
@@ -59,7 +59,14 @@ LangPackEnumeration::LangPackEnumeration( wxLanguage langId )
|
||||
LangPackEnumeration::LangPackEnumeration()
|
||||
{
|
||||
wxLangId = wxLANGUAGE_DEFAULT;
|
||||
englishName = L" System Default"; // left-side space forces it to sort to the front of the lists
|
||||
#if wxMAJOR_VERSION < 3
|
||||
englishName = L"_System Default"; // left-side space forces it to sort to the front of the lists
|
||||
#else
|
||||
// It seems wx change its sort algo... It seems non alphanumeric character are removed
|
||||
englishName = L"0) System Default"; // left-side 0) forces it to sort to the front of the lists
|
||||
// This one can work too
|
||||
//englishName = L"A default";
|
||||
#endif
|
||||
englishName += _(" (default)");
|
||||
canonicalName = L"default";
|
||||
|
||||
|
||||
Reference in new issue
Block a user