]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/rgncmn.cpp
removed more unneeded files, see patch 890642
[wxWidgets.git] / src / common / rgncmn.cpp
index 41b273e76c123fcafd185384c16654c831e0f6c9..581ecbf68eb209445f2a25e8134d3a8072a85a0d 100644 (file)
@@ -50,9 +50,15 @@ wxBitmap wxRegion::ConvertToBitmap() const
 
 //---------------------------------------------------------------------------
 
+#if wxUSE_IMAGE
 bool wxRegion::Union(const wxBitmap& bmp,
                      const wxColour& transColour,
                      int   tolerance)
+#else
+bool wxRegion::Union(const wxBitmap& WXUNUSED(bmp),
+                     const wxColour& WXUNUSED(transColour),
+                     int   WXUNUSED(tolerance))
+#endif
 {
 #if wxUSE_IMAGE
     unsigned char loR, loG, loB;
@@ -116,10 +122,10 @@ bool wxRegion::Union(const wxBitmap& bmp,
         }
     }
 
-    return TRUE;
+    return true;
 #else
     // No wxImage support
-    return FALSE;
+    return false;
 #endif
 }