]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/region.cpp
Added Mac OS X resource file handling:
[wxWidgets.git] / src / gtk1 / region.cpp
index cb7a12bebac9c598cc304476c77fab96c12ea983..ce742d343be2d29de26daceb351064f119397b0f 100644 (file)
 #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