/////////////////////////////////////////////////////////////////////////////
-// 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, int fillStyle = wxODDEVEN_RULE );
- wxRegion();
+ wxRegion(size_t n, const wxPoint *points, wxPolygonFillMode fillStyle = wxODDEVEN_RULE );
+#if wxUSE_IMAGE
wxRegion(const wxBitmap& bmp)
{
Union(bmp);
{
Union(bmp, transColour, tolerance);
}
+#endif
virtual ~wxRegion();
virtual bool IsEmpty() const;
// Internal
- const WXHRGN GetWXHRGN() const ;
+ WXHRGN GetWXHRGN() const ;
protected:
virtual wxGDIRefData *CreateGDIRefData() const;