X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/06cfc0526971677483a902055f742a66af1fc859..43ff861df48f0837dac98005dd397c5f127ca136:/include/wx/gdicmn.h?ds=inline diff --git a/include/wx/gdicmn.h b/include/wx/gdicmn.h index 47de6eefbb..a41a9c5f52 100644 --- a/include/wx/gdicmn.h +++ b/include/wx/gdicmn.h @@ -725,7 +725,7 @@ public: wxPoint GetTopRight() const { return wxPoint(GetRight(), GetTop()); } wxPoint GetRightTop() const { return GetTopRight(); } void SetTopRight(const wxPoint &p) { SetRight(p.x); SetTop(p.y); } - void SetRightTop(const wxPoint &p) { SetTopLeft(p); } + void SetRightTop(const wxPoint &p) { SetTopRight(p); } wxPoint GetBottomLeft() const { return wxPoint(GetLeft(), GetBottom()); } wxPoint GetLeftBottom() const { return GetBottomLeft(); }