X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0dbd6262a9ee7d735fb3930707346298f71b2cb7..a1260bfc7d001721aac4e505623a9224793b8d1f:/include/wx/mac/region.h diff --git a/include/wx/mac/region.h b/include/wx/mac/region.h index 04d143c2e9..aa7d718d73 100644 --- a/include/wx/mac/region.h +++ b/include/wx/mac/region.h @@ -43,6 +43,7 @@ public: wxRegion(long x, long y, long w, long h); wxRegion(const wxPoint& topLeft, const wxPoint& bottomRight); wxRegion(const wxRect& rect); + wxRegion( WXHRGN hRegion ); wxRegion(); ~wxRegion(); @@ -79,7 +80,7 @@ public: //# Information on region // Outer bounds of region - void GetBox(long& x, long& y, long&w, long &h) const; + void GetBox(wxCoord& x, wxCoord& y, wxCoord&w, wxCoord &h) const; wxRect GetBox() const ; // Is region empty? @@ -100,6 +101,7 @@ public: bool Combine(long x, long y, long width, long height, wxRegionOp op); bool Combine(const wxRegion& region, wxRegionOp op); bool Combine(const wxRect& rect, wxRegionOp op); + const WXHRGN GetWXHRGN() const ; }; class WXDLLEXPORT wxRegionIterator : public wxObject { @@ -125,7 +127,6 @@ public: long GetH() const; long GetHeight() const { return GetH(); } wxRect GetRect() const { return wxRect(GetX(), GetY(), GetWidth(), GetHeight()); } - private: long m_current; long m_numRects;