X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/feb7b71d4535dae65325323c6b5114571d1ba916..824fd93d761e1e697be19a4ca582c5259e12c8ea:/src/generic/dcpsg.cpp diff --git a/src/generic/dcpsg.cpp b/src/generic/dcpsg.cpp index b83d33c47e..5fc793f250 100644 --- a/src/generic/dcpsg.cpp +++ b/src/generic/dcpsg.cpp @@ -1297,9 +1297,9 @@ static void InitializePangoContext(PangoContext *context) #else // FIXME: assuming LTR is incorrect! pango_context_set_base_dir(context, PANGO_DIRECTION_LTR); - wxString lang = wxLocale::GetCanonicalName(); + wxString lang = wxGetLocale()->GetCanonicalName(); pango_context_set_language(context, - pango_language_from_string(lang::ToAscii())); + pango_language_from_string(lang.ToAscii())); #endif } #endif