]> git.saurik.com Git - wxWidgets.git/commitdiff
stub for wxOS2 region ctor from points.
authorWłodzimierz Skiba <abx@abx.art.pl>
Fri, 10 Nov 2006 20:35:39 +0000 (20:35 +0000)
committerWłodzimierz Skiba <abx@abx.art.pl>
Fri, 10 Nov 2006 20:35:39 +0000 (20:35 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43288 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/os2/region.h
src/os2/region.cpp

index a2a669b0de043ce7c23cd91e5db9e43a896f4b34..f4e2235cc08a41c459b3dceb3e8d2e4fb926f859 100644 (file)
@@ -1,5 +1,5 @@
 /////////////////////////////////////////////////////////////////////////////
-// Name:        region.h
+// Name:        wx/os2/region.h
 // Purpose:     wxRegion class
 // Author:      David Webster
 // Modified by:
@@ -28,6 +28,7 @@ public:
             );
     wxRegion(const wxRect& rRect);
     wxRegion(WXHRGN hRegion, WXHDC hPS); // Hangs on to this region
+    wxRegion(size_t n, const wxPoint *points, int fillStyle = wxODDEVEN_RULE );
     wxRegion( const wxBitmap& bmp)
     {
         Union(bmp);
index f2fe44a6077f0c99af27031d6ed8cfdf93f2ab74..92849e1384609248c5ceb356e5c9553f0a6f8b1c 100644 (file)
@@ -151,10 +151,8 @@ wxRegion::wxRegion(
                                      );
 } // end of wxRegion::wxRegion
 
-wxRegion::wxRegion(
-  const wxPoint&                    rTopLeft
-, const wxPoint&                    rBottomRight
-)
+wxRegion::wxRegion(const wxPoint& rTopLeft,
+                   const wxPoint& rBottomRight)
 {
     RECTL                           vRect;
     SIZEL                           vSize = {0, 0};
@@ -188,9 +186,7 @@ wxRegion::wxRegion(
                                      );
 } // end of wxRegion::wxRegion
 
-wxRegion::wxRegion(
-  const wxRect&                     rRect
-)
+wxRegion::wxRegion(const wxRect& rRect)
 {
     RECTL                           vRect;
     SIZEL                           vSize = {0, 0};
@@ -225,6 +221,11 @@ wxRegion::wxRegion(
                                      );
 } // end of wxRegion::wxRegion
 
+wxRegion::wxRegion(size_t n, const wxPoint *points, int WXUNUSED(fillStyle))
+{
+    // TO DO
+}
+
 //
 // Destroy the region.
 //