X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b5dbe15d0bacde245539f54c4d97af6b4696f01f..472eec8a0391538e4dcf7f7c6c4f4d44c8383616:/include/wx/msw/region.h diff --git a/include/wx/msw/region.h b/include/wx/msw/region.h index e9463fdd13..97203acb3f 100644 --- a/include/wx/msw/region.h +++ b/include/wx/msw/region.h @@ -21,6 +21,7 @@ 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 +31,7 @@ public: { Union(bmp, transColour, tolerance); } +#endif // wxUSE_IMAGE virtual ~wxRegion();