X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bfd62c8c2a9c982fc0b07e3081673d87050fa12f..d57d0505d4c2186592833f18c3d40532d3a4bf0e:/src/unix/displayx11.cpp diff --git a/src/unix/displayx11.cpp b/src/unix/displayx11.cpp index a6c294d5e2..6f97e92717 100644 --- a/src/unix/displayx11.cpp +++ b/src/unix/displayx11.cpp @@ -62,9 +62,6 @@ #include #include - #ifdef HAVE_X11_EXTENSIONS_XF86VMODE_H - #include - #endif } typedef XineramaScreenInfo ScreenInfo; @@ -222,6 +219,8 @@ wxDisplayImpl *wxDisplayFactoryX11::CreateDisplay(unsigned n) #ifdef HAVE_X11_EXTENSIONS_XF86VMODE_H +#include + // // See (http://www.xfree86.org/4.2.0/XF86VidModeDeleteModeLine.3.html) for more // info about xf86 video mode extensions @@ -383,7 +382,7 @@ bool wxDisplayImplX11::ChangeMode(const wxVideoMode& WXUNUSED(mode)) #include "wx/utils.h" -#if wxUSE_LIBHILDON || wxUSE_LIBHILDON2 +#if wxUSE_LIBHILDON || wxUSE_LIBHILDON2 || !defined(GDK_WINDOWING_X11) void wxClientDisplayRect(int *x, int *y, int *width, int *height) {