X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bbcdf8bc7ca806d8278c7cb6d09d5590378b67d8..9a29912f608e082001ee53b9873323c4bcd71f21:/include/wx/msw/region.h diff --git a/include/wx/msw/region.h b/include/wx/msw/region.h index 0ac45586ec..4be8411eb5 100644 --- a/include/wx/msw/region.h +++ b/include/wx/msw/region.h @@ -101,6 +101,9 @@ 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); + + // Get internal region handle + WXHRGN GetHRGN() const; }; class WXDLLEXPORT wxRegionIterator : public wxObject { @@ -125,6 +128,7 @@ public: long GetWidth(void) const { return GetW(); } long GetH(void) const; long GetHeight(void) const { return GetH(); } + wxRect GetRect() const { return wxRect(GetX(), GetY(), GetWidth(), GetHeight()); } private: long m_current;