X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a4e53d4658be40e3ade41321cb2ece75d082eabf..8cbc59fe84f046685b873cf58f6c56debe59de1c:/src/common/xlocale.cpp?ds=inline diff --git a/src/common/xlocale.cpp b/src/common/xlocale.cpp index 14c7a5b35c..b04288c648 100644 --- a/src/common/xlocale.cpp +++ b/src/common/xlocale.cpp @@ -71,7 +71,7 @@ wxXLocale& wxXLocale::GetCLocale() { if ( !gs_cLocale ) { - gs_cLocale = new wxXLocale(wx_static_cast(wxXLocaleCTag *, NULL)); + gs_cLocale = new wxXLocale(static_cast(NULL)); } return *gs_cLocale; @@ -88,7 +88,7 @@ wxXLocale::wxXLocale(wxLanguage lang) } else { - Init(info->CanonicalName); + Init(info->GetLocaleName().c_str()); } }