X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3cd2f0bdee7cfaac783455aa25cb617b9d601f17..18e989043be8f46e5744735fbf2d56840d2c34a7:/src/x11/app.cpp diff --git a/src/x11/app.cpp b/src/x11/app.cpp index 5d1ab3726c..9f07031355 100644 --- a/src/x11/app.cpp +++ b/src/x11/app.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) - #pragma implementation "app.h" -#endif - #include "wx/frame.h" #include "wx/app.h" #include "wx/utils.h" @@ -690,7 +686,9 @@ bool wxApp::OnInitGui() #include #include -#include +#ifdef HAVE_PANGO_XFT + #include +#endif PangoContext* wxApp::GetPangoContext() { @@ -700,7 +698,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)