From: Robin Dunn Date: Sat, 19 May 2012 06:21:31 +0000 (+0000) Subject: Add some missing setters for wxRect. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/aee775a367aae355c743716ce333d448f16d8d64?hp=2de2a46833787d82e3f55912b195dd83f5f5dd55 Add some missing setters for wxRect. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71492 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/interface/wx/gdicmn.h b/interface/wx/gdicmn.h index dbe5e97508..f043636096 100644 --- a/interface/wx/gdicmn.h +++ b/interface/wx/gdicmn.h @@ -445,6 +445,47 @@ public: */ void SetY(int y); + /** + Set the left side of the rectangle. + */ + void SetLeft(int left); + + /** + Set the right side of the rectangle. + */ + void SetRight(int right); + + /** + Set the top edge of the rectangle. + */ + void SetTop(int top); + + /** + Set the bottome edge of th rectangle. + */ + void SetBottom(int bottom); + + /** + Set the top-left point of the rectangle. + */ + void SetTopLeft(const wxPoint &p); + + /** + Set the bottom-right point of the rectangle. + */ + void SetBottomRight(const wxPoint &p); + + /** + Set the top-right point of the rectangle. + */ + void SetTopRight(const wxPoint &p); + + /** + Set the bottom-left point of the rectangle. + */ + void SetBottomLeft(const wxPoint &p); + + //@{ /** Modifies the rectangle to contain the bounding box of this rectangle