]> git.saurik.com Git - wxWidgets.git/commitdiff
Corrections after The Great wxRegion Refactoring.
authorWłodzimierz Skiba <abx@abx.art.pl>
Tue, 26 Sep 2006 12:20:32 +0000 (12:20 +0000)
committerWłodzimierz Skiba <abx@abx.art.pl>
Tue, 26 Sep 2006 12:20:32 +0000 (12:20 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41460 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/palmos/region.h

index 96950f07a8d0e74d2a18d3d65bd724b9a8383bdb..8a7479bbe6966927b90c55e068fe1e79b62f6691 100644 (file)
@@ -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();