-#ifdef __WXMAC_CLASSIC__
-#include "wx/mac/classic/region.h"
+#if wxOSX_USE_CARBON
+#include "wx/osx/carbon/region.h"
#else
-#include "wx/mac/carbon/region.h"
+#define wxRegionGeneric wxRegion
+#define wxRegionIteratorGeneric wxRegionIterator
+
+#include "wx/generic/region.h"
#endif