fixed internal compiler error
[wxWidgets.git] / include / wx / gtk1 / region.h
index 9ba3f5012580409d2b3696f4ab3cdec4879aa748..7ab28ddbd80ff714631368dee2849ec074099325 100644 (file)
@@ -121,6 +121,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: