Compilation fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28705 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1297,9 +1297,9 @@ static void InitializePangoContext(PangoContext *context)
|
|||||||
#else
|
#else
|
||||||
// FIXME: assuming LTR is incorrect!
|
// FIXME: assuming LTR is incorrect!
|
||||||
pango_context_set_base_dir(context, PANGO_DIRECTION_LTR);
|
pango_context_set_base_dir(context, PANGO_DIRECTION_LTR);
|
||||||
wxString lang = wxLocale::GetCanonicalName();
|
wxString lang = wxGetLocale()->GetCanonicalName();
|
||||||
pango_context_set_language(context,
|
pango_context_set_language(context,
|
||||||
pango_language_from_string(lang::ToAscii()));
|
pango_language_from_string(lang.ToAscii()));
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user