projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
1. wxSingleChoiceDialog looks Ok under Windows
[wxWidgets.git]
/
include
/
wx
/
gtk
/
region.h
diff --git
a/include/wx/gtk/region.h
b/include/wx/gtk/region.h
index 9ba3f5012580409d2b3696f4ab3cdec4879aa748..b61066a2083b6d664a2cc425432f5e3e1c880af4 100644
(file)
--- a/
include/wx/gtk/region.h
+++ b/
include/wx/gtk/region.h
@@
-58,11
+58,14
@@
class wxRegion : public wxGDIObject
wxRegion(void);
~wxRegion(void);
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); }
{ 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 );
void Clear(void);
bool Union( long x, long y, long width, long height );
@@
-121,6
+124,7
@@
class wxRegionIterator: public wxObject
long GetWidth(void) const { return GetW(); }
long GetH(void) const;
long GetHeight(void) const { return GetH(); }
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:
private: