From ec02a2f7de3d6f4e11c4dd72bf69c33fcc49ba84 Mon Sep 17 00:00:00 2001 From: =?utf8?q?W=C5=82odzimierz=20Skiba?= Date: Fri, 10 Nov 2006 20:35:39 +0000 Subject: [PATCH] stub for wxOS2 region ctor from points. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43288 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/os2/region.h | 3 ++- src/os2/region.cpp | 15 ++++++++------- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/include/wx/os2/region.h b/include/wx/os2/region.h index a2a669b0de..f4e2235cc0 100644 --- a/include/wx/os2/region.h +++ b/include/wx/os2/region.h @@ -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); diff --git a/src/os2/region.cpp b/src/os2/region.cpp index f2fe44a607..92849e1384 100644 --- a/src/os2/region.cpp +++ b/src/os2/region.cpp @@ -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. // -- 2.47.2