X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3d0c4d2e7bcedb4599c3cce0af19adf73b2f8ecd..493c9f6bb22eef04391998cb1770cf32f1cc6efc:/src/gtk1/region.cpp diff --git a/src/gtk1/region.cpp b/src/gtk1/region.cpp index cb7a12beba..ce742d343b 100644 --- a/src/gtk1/region.cpp +++ b/src/gtk1/region.cpp @@ -16,7 +16,14 @@ #include #include +// 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