X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/067fd8b47ea5e063723eb55820cd2c320fe9f60b..4e2a3778386d60356dab319afa2d3f987f86d6b2:/src/common/xlocale.cpp?ds=inline diff --git a/src/common/xlocale.cpp b/src/common/xlocale.cpp index 24d1a3f443..6adb86b8d9 100644 --- a/src/common/xlocale.cpp +++ b/src/common/xlocale.cpp @@ -88,14 +88,7 @@ wxXLocale::wxXLocale(wxLanguage lang) } else { - wxString loc; -#ifdef __WXMSW__ - loc = info->Description; -#else - loc = info->CanonicalName; -#endif - - Init(loc.c_str()); + Init(info->GetLocaleName().c_str()); } }