X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3cd2f0bdee7cfaac783455aa25cb617b9d601f17..222702b112dcc7bebe018d6f4d66fe469fefd02c:/src/x11/app.cpp diff --git a/src/x11/app.cpp b/src/x11/app.cpp index 5d1ab3726c..5288ac7303 100644 --- a/src/x11/app.cpp +++ b/src/x11/app.cpp @@ -690,7 +690,9 @@ bool wxApp::OnInitGui() #include #include -#include +#ifdef HAVE_PANGO_XFT + #include +#endif PangoContext* wxApp::GetPangoContext() { @@ -700,7 +702,7 @@ PangoContext* wxApp::GetPangoContext() Display *xdisplay = (Display*) wxApp::GetDisplay(); -#if 1 +#ifdef HAVE_PANGO_XFT int xscreen = DefaultScreen(xdisplay); static int use_xft = -1; if (use_xft == -1)