Do not include wx/gtk/private/gtk2-compat.h when compiling against a very old GTK
This commit is contained in:
parent
6c7d0b34a7
commit
6fae9911d8
@ -39,8 +39,10 @@
|
|||||||
#include <gtk/gtk.h>
|
#include <gtk/gtk.h>
|
||||||
#ifdef GDK_WINDOWING_X11
|
#ifdef GDK_WINDOWING_X11
|
||||||
#include <gdk/gdkx.h>
|
#include <gdk/gdkx.h>
|
||||||
|
#if GTK_CHECK_VERSION(2,14,0)
|
||||||
#include "wx/gtk/private/gtk2-compat.h" // gdk_window_get_screen()
|
#include "wx/gtk/private/gtk2-compat.h" // gdk_window_get_screen()
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
GdkWindow* wxGetTopLevelGDK();
|
GdkWindow* wxGetTopLevelGDK();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user