fix build with old pango versions which don't define PANGO_VERSION_CHECK(), closes #16660

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@78140 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Paul Cornett
2014-11-11 18:31:21 +00:00
parent e609b182a4
commit 4d40e7806c

View File

@@ -290,6 +290,7 @@ PangoContext* wxGetPangoContext()
{
context = gdk_pango_context_get_for_screen(screen);
}
#ifdef PANGO_VERSION_CHECK
#if PANGO_VERSION_CHECK(1,22,0)
else // No default screen.
{
@@ -304,6 +305,7 @@ PangoContext* wxGetPangoContext()
//else: pango_font_map_create_context() not available
}
#endif // Pango 1.22+
#endif // PANGO_VERSION_CHECK
}
return context;