]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/region.h
always let GtkTextView have mouse release events to avoid assertion failures in gtk_t...
[wxWidgets.git] / include / wx / region.h
index 9c5afd22bc8f97ddaeaef20ba59350088d085b50..3582ecab1cc4f4fbb4a3d764109f262f75ed3f21 100644 (file)
@@ -1,18 +1,46 @@
+/////////////////////////////////////////////////////////////////////////////
+// Name:        wx/region.h
+// Purpose:     Base header for wxRegion
+// Author:      Julian Smart
+// Modified by:
+// Created:
+// RCS-ID:      $Id$
+// Copyright:   (c) Julian Smart
+// Licence:     wxWindows Licence
+/////////////////////////////////////////////////////////////////////////////
+
 #ifndef _WX_REGION_H_BASE_
 #define _WX_REGION_H_BASE_
 
-#if defined(__WXMSW__)
-#include "wx/msw/region.h"
-#elif defined(__WXMOTIF__)
-#include "wx/motif/region.h"
+#include "wx/colour.h"
+
+enum wxRegionContain
+{
+    wxOutRegion = 0,
+    wxPartRegion = 1,
+    wxInRegion = 2
+};
+
+#if defined(__WXPALMOS__)
+    #include "wx/palmos/region.h"
+#elif defined(__WXMSW__)
+    #include "wx/msw/region.h"
+#elif defined(__WXGTK20__)
+    #include "wx/gtk/region.h"
 #elif defined(__WXGTK__)
-#include "wx/gtk/region.h"
-#elif defined(__WXQT__)
-#include "wx/qt/region.h"
+    #include "wx/gtk1/region.h"
+#elif defined(__WXMOTIF__) || defined(__WXX11__)
+    #include "wx/x11/region.h"
+#elif defined(__WXMGL__)
+    #include "wx/mgl/region.h"
+#elif defined(__WXDFB__)
+    #include "wx/dfb/region.h"
 #elif defined(__WXMAC__)
-#include "wx/mac/region.h"
-#elif defined(__WXSTUBS__)
-#include "wx/stubs/region.h"
+    #include "wx/mac/region.h"
+#elif defined(__WXCOCOA__)
+    #include "wx/cocoa/region.h"
+#elif defined(__WXPM__)
+    #include "wx/os2/region.h"
 #endif
 
 #endif