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