/////////////////////////////////////////////////////////////////////////////
-// Name: region.h
+// Name: wx/os2/region.h
// Purpose: wxRegion class
// Author: David Webster
// Modified by:
);
wxRegion(const wxRect& rRect);
wxRegion(WXHRGN hRegion, WXHDC hPS); // Hangs on to this region
+ wxRegion(size_t n, const wxPoint *points, int fillStyle = wxODDEVEN_RULE );
wxRegion( const wxBitmap& bmp)
{
Union(bmp);
void SetPS(HPS hPS);
protected:
- virtual wxObjectRefData* CreateData(void) const;
- virtual wxObjectRefData* CloneData(const wxObjectRefData* pData) const;
+ virtual wxGDIRefData* CreateData(void) const;
+ virtual wxGDIRefData* CloneData(const wxGDIRefData* pData) const;
virtual bool DoIsEqual(const wxRegion& region) const;
virtual bool DoGetBox(wxCoord& x, wxCoord& y, wxCoord& w, wxCoord& h) const;
virtual bool DoOffset(wxCoord x, wxCoord y);
virtual bool DoCombine(const wxRegion& region, wxRegionOp op);
- friend class WXDLLEXPORT wxRegionIterator;
+ friend class WXDLLIMPEXP_FWD_CORE wxRegionIterator;
DECLARE_DYNAMIC_CLASS(wxRegion);
}; // end of CLASS wxRegion