X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f9727b1be58d5cc9be85d12f8d47f3544f881b97..949750de631b2c2ee59c6e9080e7d38fa66c0167:/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()); } }