X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/34138703c3997ce676a1e713d9ff9eb020640da7..d42508c2a026d505d39c386b233de4a1b51f1445:/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;