]> git.saurik.com Git - wxWidgets.git/commitdiff
Compilation fix.
authorMattia Barbon <mbarbon@cpan.org>
Sat, 7 Aug 2004 21:26:15 +0000 (21:26 +0000)
committerMattia Barbon <mbarbon@cpan.org>
Sat, 7 Aug 2004 21:26:15 +0000 (21:26 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28705 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/generic/dcpsg.cpp

index b83d33c47ef3b6490f2d8241fb673d791915709b..5fc793f2509921e36aaaffa1cc50052b9954bb9e 100644 (file)
@@ -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