]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gdicmn.h
fixing a few typos, wxAny copy constructor implementation, making wxAnyList available...
[wxWidgets.git] / include / wx / gdicmn.h
index 47de6eefbba7198f2b52c9cdbfe09b40138998c0..a41a9c5f52746f90fb3ed2ebb28b10bfbe3cdd25 100644 (file)
@@ -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(); }