X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4b3163294c68097a196dcb51f1a0e1475f9a3f57..21956470c701c0fcdb54513d27ff3bd4a1f6edf5:/src/common/rgncmn.cpp?ds=sidebyside diff --git a/src/common/rgncmn.cpp b/src/common/rgncmn.cpp index 41b273e76c..581ecbf68e 100644 --- a/src/common/rgncmn.cpp +++ b/src/common/rgncmn.cpp @@ -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 }