]> git.saurik.com Git - wxWidgets.git/blobdiff - interface/wx/gdicmn.h
really fix the length of the string returned by wxConvertStringToOle() (#10056)
[wxWidgets.git] / interface / wx / gdicmn.h
index 4872365ac3729de2122fa2ce431a8311bf721cb7..b06c7a331eedba52e5bf29fa4e718a7e57fbc8a4 100644 (file)
@@ -311,14 +311,19 @@ public:
     wxRect Inflate(wxCoord dx, wxCoord dy) const;
     //@}
 
-    //@{
     /**
-        Modifies the rectangle to contain the overlapping box of this rectangle
+        Modifies this rectangle to contain the overlapping portion of this rectangle
         and the one passed in as parameter.
+
+        @return This rectangle, modified.
     */
-    wxRect Intersect(const wxRect& rect) const;
     wxRect& Intersect(const wxRect& rect);
-    //@}
+
+    /**
+        Returns the overlapping portion of this rectangle and the one passed in as
+        parameter.
+    */
+    wxRect Intersect(const wxRect& rect) const;
 
     /**
         Returns @true if this rectangle has a non-empty intersection with the