Do not include wx/gtk/private/gtk2-compat.h when compiling against a very old GTK

This commit is contained in:
Jouk 2016-02-03 12:01:25 +01:00
parent 6c7d0b34a7
commit 6fae9911d8

View File

@ -39,8 +39,10 @@
#include <gtk/gtk.h>
#ifdef GDK_WINDOWING_X11
#include <gdk/gdkx.h>
#if GTK_CHECK_VERSION(2,14,0)
#include "wx/gtk/private/gtk2-compat.h" // gdk_window_get_screen()
#endif
#endif
GdkWindow* wxGetTopLevelGDK();
#endif