From cf774b6767ab5e668befe3ac3245e4035dfb0b49 Mon Sep 17 00:00:00 2001 From: David Elliott Date: Thu, 14 Aug 2003 20:56:21 +0000 Subject: [PATCH] Stub for wxRegion::Offset git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22893 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/cocoa/region.h | 3 +++ src/cocoa/region.cpp | 5 +++++ 2 files changed, 8 insertions(+) diff --git a/include/wx/cocoa/region.h b/include/wx/cocoa/region.h index 8fb86d856d..e15bb3fc80 100644 --- a/include/wx/cocoa/region.h +++ b/include/wx/cocoa/region.h @@ -64,6 +64,9 @@ public: // Clear current region void Clear(); + // Move the region + bool Offset(wxCoord x, wxCoord y); + // Union rectangle or region with this. bool Union(long x, long y, long width, long height) { return Combine(x, y, width, height, wxRGN_OR); } diff --git a/src/cocoa/region.cpp b/src/cocoa/region.cpp index 9d6d222412..db1493aa07 100644 --- a/src/cocoa/region.cpp +++ b/src/cocoa/region.cpp @@ -45,6 +45,11 @@ void wxRegion::Clear() UnRef(); } +bool wxRegion::Offset(wxCoord x, wxCoord y) +{ + return false; +} + bool wxRegion::Combine(long x, long y, long width, long height, wxRegionOp op) { return false;