git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9367
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
#include <gdk/gdk.h>
#include <gtk/gtk.h>
+// Unfortunately the new way of implementing the region iterator
+// doesn't work with GTK+ 2.0 or above (can't access a Region in
+// GdkPrivateRegion)
+#ifdef __WXGTK20__
+#define OLDCODE 1
+#else
#define OLDCODE 0
+#endif
//-----------------------------------------------------------------------------
// wxRegion
// debug
//-----------------------------------------------------------------------------
+#ifndef __WXGTK20__
#define DISABLE_STYLE_IF_BROKEN_THEME 1
+#endif
#ifdef __WXDEBUG__
#include <gdk/gdk.h>
#include <gtk/gtk.h>
+// Unfortunately the new way of implementing the region iterator
+// doesn't work with GTK+ 2.0 or above (can't access a Region in
+// GdkPrivateRegion)
+#ifdef __WXGTK20__
+#define OLDCODE 1
+#else
#define OLDCODE 0
+#endif
//-----------------------------------------------------------------------------
// wxRegion
// debug
//-----------------------------------------------------------------------------
+#ifndef __WXGTK20__
#define DISABLE_STYLE_IF_BROKEN_THEME 1
+#endif
#ifdef __WXDEBUG__