X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4b3163294c68097a196dcb51f1a0e1475f9a3f57..793db75554d2d2bc5dc9b0fc42c0b7aa03a44183:/src/common/rgncmn.cpp 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 }