]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/stubs/region.h
removed extern from inline function declarations
[wxWidgets.git] / include / wx / stubs / region.h
index 6353a7dc16d8c0d2352ed9707e1a307c50f496ac..04d143c2e92ac6a747d91e0638fa598dcc2fba5b 100644 (file)
@@ -18,6 +18,7 @@
 
 #include "wx/list.h"
 #include "wx/gdiobj.h"
+#include "wx/gdicmn.h"
 
 class WXDLLEXPORT wxRect;
 class WXDLLEXPORT wxPoint;
@@ -123,6 +124,7 @@ public:
        long GetWidth() const { return GetW(); }
        long GetH() const;
        long GetHeight() const { return GetH(); }
+    wxRect GetRect() const { return wxRect(GetX(), GetY(), GetWidth(), GetHeight()); }
 
 private:
        long     m_current;