Fix compilation with GTK+ 2.22 due to gdk_window_get_screen()

Include the compatibility header defining this function.
This commit is contained in:
Vadim Zeitlin
2016-02-02 16:09:23 +01:00
parent d66289dc95
commit d1944ad801

View File

@@ -39,6 +39,7 @@
#include <gtk/gtk.h>
#ifdef GDK_WINDOWING_X11
#include <gdk/gdkx.h>
#include "wx/gtk/private/gtk2-compat.h" // gdk_window_get_screen()
#endif
GdkWindow* wxGetTopLevelGDK();
#endif