X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1d156af3247c862e51a7c62f569a3fd302052a42..7344108e8a129a3f9b4df5ab0f98a1713db03b89:/interface/wx/gdicmn.h diff --git a/interface/wx/gdicmn.h b/interface/wx/gdicmn.h index c26755c304..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 @@ -791,11 +832,6 @@ wxColourDatabase* wxTheColourDatabase; almost equivalent to wxSize, has a different meaning: wxPoint represents a position while wxSize represents the size. - @beginWxPythonOnly - wxPython defines aliases for the @e x and @e y members named @e width and - @e height since it makes much more sense for sizes. - @endWxPythonOnly - @library{wxcore} @category{data}