From: Mattia Barbon Date: Sat, 7 Aug 2004 21:26:15 +0000 (+0000) Subject: Compilation fix. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/2c304d0a33614d1806dc3fcd9e8054e5881f8c1c?ds=inline Compilation fix. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28705 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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