X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7ee31b00ed1aff56aa22f43f65a8604f6937ca37..df7145da50005a9f512d8f3329b6ed2166e956d0:/include/wx/gdicmn.h diff --git a/include/wx/gdicmn.h b/include/wx/gdicmn.h index a584536722..185d5e52e2 100644 --- a/include/wx/gdicmn.h +++ b/include/wx/gdicmn.h @@ -307,7 +307,10 @@ public: void SetHeight(int h) { height = h; } wxPoint GetPosition() const { return wxPoint(x, y); } + void SetPosition( const wxPoint &p ) { x = p.x; y = p.y; } + wxSize GetSize() const { return wxSize(width, height); } + void SetSize( const wxSize &s ) { width = s.GetWidth(); height = s.GetHeight(); } int GetLeft() const { return x; } int GetTop() const { return y; }