X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3dd4e4e05cc46ffc653730715e527af7b18b9caf..a43a4f9d4d4a7f107e81bc7de0c1eea729593ee2:/include/wx/motif/region.h 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 {