X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a4e53d4658be40e3ade41321cb2ece75d082eabf..c50c6fb23b0a538f3403f42149e2f5b90957d7ac:/src/common/xlocale.cpp diff --git a/src/common/xlocale.cpp b/src/common/xlocale.cpp index 14c7a5b35c..6adb86b8d9 100644 --- a/src/common/xlocale.cpp +++ b/src/common/xlocale.cpp @@ -88,7 +88,7 @@ wxXLocale::wxXLocale(wxLanguage lang) } else { - Init(info->CanonicalName); + Init(info->GetLocaleName().c_str()); } }