]> git.saurik.com Git - wxWidgets.git/commitdiff
proper guard for bitmap constructors
authorStefan Csomor <csomor@advancedconcepts.ch>
Sat, 16 Jul 2011 06:57:30 +0000 (06:57 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Sat, 16 Jul 2011 06:57:30 +0000 (06:57 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@68282 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/osx/carbon/region.h

index 16546952fb49384f24f57080411026713ddcddf5..4701c91fac766eb753c4fe6fd2c3bd1aca50bbd4 100644 (file)
@@ -23,6 +23,7 @@ public:
     wxRegion( WXHRGN hRegion );
     wxRegion(size_t n, const wxPoint *points, wxPolygonFillMode fillStyle = wxODDEVEN_RULE );
     wxRegion();
+#if wxUSE_IMAGE
     wxRegion(const wxBitmap& bmp)
     {
         Union(bmp);
@@ -32,6 +33,7 @@ public:
     {
         Union(bmp, transColour, tolerance);
     }
+#endif
 
     virtual ~wxRegion();