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