X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8429bec1e8e3fcb7d071bc3ef7c665c484b5fdc1..ab8884aca6f480f3568167c7fe592a03e7e102b2:/include/wx/gtk1/region.h?ds=inline diff --git a/include/wx/gtk1/region.h b/include/wx/gtk1/region.h index 35e146938c..b61066a208 100644 --- a/include/wx/gtk1/region.h +++ b/include/wx/gtk1/region.h @@ -2,9 +2,8 @@ // Name: region.h // Purpose: // Author: Robert Roebling -// Created: 01/02/97 -// Id: -// Copyright: (c) 1998 Robert Roebling, Julian Smart and Markus Holzem +// Id: $Id$ +// Copyright: (c) 1998 Robert Roebling // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -59,11 +58,14 @@ class wxRegion : public wxGDIObject wxRegion(void); ~wxRegion(void); - inline wxRegion( const wxRegion& r ) + inline wxRegion( const wxRegion& r ): wxGDIObject() { Ref(r); } inline wxRegion& operator = ( const wxRegion& r ) { Ref(r); return (*this); } + bool operator == ( const wxRegion& region ); + bool operator != ( const wxRegion& region ); + void Clear(void); bool Union( long x, long y, long width, long height ); @@ -122,6 +124,7 @@ class wxRegionIterator: public wxObject 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: