From: Włodzimierz Skiba Date: Tue, 26 Sep 2006 12:20:32 +0000 (+0000) Subject: Corrections after The Great wxRegion Refactoring. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/74221ac15ba3539c1cc2c75c2a4c89d13aa3612b Corrections after The Great wxRegion Refactoring. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41460 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/palmos/region.h b/include/wx/palmos/region.h index 96950f07a8..8a7479bbe6 100644 --- a/include/wx/palmos/region.h +++ b/include/wx/palmos/region.h @@ -21,6 +21,8 @@ public: wxRegion(const wxRect& rect); wxRegion(WXHRGN hRegion); // Hangs on to this region wxRegion(size_t n, const wxPoint *points, int fillStyle = wxODDEVEN_RULE ); + +#if wxUSE_IMAGE wxRegion( const wxBitmap& bmp) { Union(bmp); @@ -30,6 +32,7 @@ public: { Union(bmp, transColour, tolerance); } +#endif virtual ~wxRegion();