]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/region.h
added code for hardware platform detection (__INTEL__, __POWERPC__, ... which were...
[wxWidgets.git] / include / wx / region.h
index aa208368f3530181636dc46fda3f65ce039dfb65..7dad80a147649f1c4c19f78d9d4d3c3584495e82 100644 (file)
@@ -1,13 +1,25 @@
-#ifndef __REGIONH_BASE__
-#define __REGIONH_BASE__
+#ifndef _WX_REGION_H_BASE_
+#define _WX_REGION_H_BASE_
 
-#if defined(__WINDOWS__)
-#include "wx/msw/region.h"
-#elif defined(__MOTIF__)
-#include "wx/xt/region.h"
-#elif defined(__GTK__)
-#include "wx/gtk/region.h"
+#include "wx/colour.h"
+
+#if defined(__WXPALMOS__)
+    #include "wx/palmos/region.h"
+#elif defined(__WXMSW__)
+    #include "wx/msw/region.h"
+#elif defined(__WXGTK__)
+    #include "wx/gtk/region.h"
+#elif defined(__WXMOTIF__) || defined(__WXX11__)
+    #include "wx/x11/region.h"
+#elif defined(__WXMGL__)
+    #include "wx/mgl/region.h"
+#elif defined(__WXMAC__)
+    #include "wx/mac/region.h"
+#elif defined(__WXCOCOA__)
+    #include "wx/cocoa/region.h"
+#elif defined(__WXPM__)
+    #include "wx/os2/region.h"
 #endif
 
 #endif
-    // __REGIONH_BASE__
+    // _WX_REGION_H_BASE_