X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0dbd6262a9ee7d735fb3930707346298f71b2cb7..0b165ed6b209ea9f5ddd7bfb1813c6f0718a9a3d:/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;