]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/palmos/region.h
compilation fix for windows compilers: _wrename is declared in io.h
[wxWidgets.git] / 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();