]> git.saurik.com Git - wxWidgets.git/commitdiff
Add some missing setters for wxRect.
authorRobin Dunn <robin@alldunn.com>
Sat, 19 May 2012 06:21:31 +0000 (06:21 +0000)
committerRobin Dunn <robin@alldunn.com>
Sat, 19 May 2012 06:21:31 +0000 (06:21 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71492 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

interface/wx/gdicmn.h

index dbe5e9750847251b98e59d71393ec3257890406c..f043636096873fd3d79d3d638acd9dda67be251e 100644 (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