Fix wxGTK compilation when using non X11-based GDK.

Only use X11-specific GDK functions inside "#ifdef GDK_WINDOWING_X11" checks.

Closes #14044.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70701 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2012-02-26 17:18:41 +00:00
parent 8334be51fb
commit 3b81515cb1
6 changed files with 52 additions and 1 deletions

View File

@@ -38,7 +38,9 @@
#include <hildon/hildon.h>
#endif // wxUSE_LIBHILDON2
#ifdef GDK_WINDOWING_X11
#include <gdk/gdkx.h>
#endif
//-----------------------------------------------------------------------------
// link GnomeVFS