X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f9727b1be58d5cc9be85d12f8d47f3544f881b97..777819af7b7b4ad98ac69a7cd5a96728c197b1fc:/src/common/xlocale.cpp diff --git a/src/common/xlocale.cpp b/src/common/xlocale.cpp index e72fd843a0..6adb86b8d9 100644 --- a/src/common/xlocale.cpp +++ b/src/common/xlocale.cpp @@ -88,11 +88,7 @@ wxXLocale::wxXLocale(wxLanguage lang) } else { -#ifdef __WXMSW__ - Init(info->Description); -#else - Init(info->CanonicalName); -#endif + Init(info->GetLocaleName().c_str()); } }