From dc9ace761f527d857333b749296bb80c92724fb1 Mon Sep 17 00:00:00 2001 From: Paul Cornett Date: Tue, 15 Apr 2014 15:46:47 +0000 Subject: [PATCH] fix wxClientDisplayRect() when wxUSE_DISPLAY==0 GDK_WINDOWING_X11 was not getting defined, causing hard coded size to be used git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76348 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/unix/displayx11.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/unix/displayx11.cpp b/src/unix/displayx11.cpp index 84f0d8b6dd..ef91c848ac 100644 --- a/src/unix/displayx11.cpp +++ b/src/unix/displayx11.cpp @@ -381,6 +381,9 @@ bool wxDisplayImplX11::ChangeMode(const wxVideoMode& WXUNUSED(mode)) #endif /* wxUSE_DISPLAY */ #include "wx/utils.h" +#ifdef __WXGTK20__ + #include // for GDK_WINDOWING_X11 +#endif #if wxUSE_LIBHILDON || wxUSE_LIBHILDON2 || !defined(GDK_WINDOWING_X11)