/////////////////////////////////////////////////////////////////////////////
-// Name: region.h
+// Name: wx/osx/carbon/region.h
// Purpose: wxRegion class
// Author: Stefan Csomor
// Modified by:
class WXDLLIMPEXP_CORE wxRegion : public wxRegionWithCombine
{
public:
+ wxRegion() { }
wxRegion(long x, long y, long w, long h);
wxRegion(const wxPoint& topLeft, const wxPoint& bottomRight);
wxRegion(const wxRect& rect);
wxRegion( WXHRGN hRegion );
wxRegion(size_t n, const wxPoint *points, wxPolygonFillMode fillStyle = wxODDEVEN_RULE );
- wxRegion();
+#if wxUSE_IMAGE
wxRegion(const wxBitmap& bmp)
{
Union(bmp);
{
Union(bmp, transColour, tolerance);
}
+#endif
virtual ~wxRegion();
virtual bool DoOffset(wxCoord x, wxCoord y);
virtual bool DoCombine(const wxRegion& region, wxRegionOp op);
+ virtual bool DoUnionWithRect(const wxRect& rect);
private:
DECLARE_DYNAMIC_CLASS(wxRegion)