]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk1/region.h
added untyped Sort() for compatibility
[wxWidgets.git] / include / wx / gtk1 / region.h
index 35e146938c8364bf83ffcda8ecc22ccdca68bc7a..7ab28ddbd80ff714631368dee2849ec074099325 100644 (file)
@@ -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
 /////////////////////////////////////////////////////////////////////////////
 
@@ -122,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: