X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8429bec1e8e3fcb7d071bc3ef7c665c484b5fdc1..2cc0e28f6add744e192d196951dc8be7c9cc51f5:/include/wx/gtk1/region.h 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: