X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3dd4e4e05cc46ffc653730715e527af7b18b9caf..559fe022dbd5d4d961402b5c973e5225fa91f17f:/include/wx/motif/region.h?ds=sidebyside diff --git a/include/wx/motif/region.h b/include/wx/motif/region.h index 4741405bde..969a44f654 100644 --- a/include/wx/motif/region.h +++ b/include/wx/motif/region.h @@ -84,7 +84,8 @@ public: // Is region empty? bool Empty() const; - inline bool IsEmpty() const { return Empty(); } + inline bool IsEmpty() const { return Empty(); } + bool Ok() const { return (m_refData != NULL) ; } //# Tests // Does the region contain the point (x,y)? @@ -100,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 the internal Region handle + WXRegion GetXRegion() const; }; class WXDLLEXPORT wxRegionIterator : public wxObject {