X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/34138703c3997ce676a1e713d9ff9eb020640da7..d5e295970c3c7e0da478425c59cc176a5cfb71d8:/include/wx/stubs/region.h

diff --git a/include/wx/stubs/region.h b/include/wx/stubs/region.h
index 6353a7dc16..04d143c2e9 100644
--- a/include/wx/stubs/region.h
+++ b/include/wx/stubs/region.h
@@ -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;