Add some missing setters for wxRect.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71492 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2012-05-19 06:21:31 +00:00
parent 2de2a46833
commit aee775a367

View File

@@ -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