]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/region.h
SetSelection() must update m_selectionOld, otherwise it doesn't correspond to the...
[wxWidgets.git] / include / wx / region.h
index c076b5a5c26b30abecbb8fd7f44227addd252858..15cd749a7f9204ce282ba0aa3bc72c347b2fb421 100644 (file)
@@ -1,15 +1,38 @@
-#ifndef __REGIONH_BASE__
-#define __REGIONH_BASE__
+/////////////////////////////////////////////////////////////////////////////
+// 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
+/////////////////////////////////////////////////////////////////////////////
 
-#if defined(__WXMSW__)
-#include "wx/msw/region.h"
-#elif defined(__WXMOTIF__)
-#include "wx/xt/region.h"
+#ifndef _WX_REGION_H_BASE_
+#define _WX_REGION_H_BASE_
+
+#include "wx/colour.h"
+
+#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(__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_