-something. It simply contians integer width and height proprtites.
-In most places in wxPython where a wx.Size is expected a
-(width,height) tuple can be used instead.", "");
+something. It simply contians integer width and height
+proprtites. In most places in wxPython where a wx.Size is
+expected a (width, height) tuple can be used instead.", "");
-// bool __eq__(const wxSize* other) { return other ? (*self == *other) : False; }
-// bool __ne__(const wxSize* other) { return other ? (*self != *other) : True; }
+// bool __eq__(const wxSize* other) { return other ? (*self == *other) : false; }
+// bool __ne__(const wxSize* other) { return other ? (*self != *other) : true; }
wxRect(const wxPoint& pos, const wxSize& size),
"Create a new Rect from a position and size.", "",
RectPS);
wxRect(const wxPoint& pos, const wxSize& size),
"Create a new Rect from a position and size.", "",
RectPS);
DocDeclStr(
wxRect&, Inflate(wxCoord dx, wxCoord dy),
"Increase the rectangle size by dx in x direction and dy in y
DocDeclStr(
wxRect&, Inflate(wxCoord dx, wxCoord dy),
"Increase the rectangle size by dx in x direction and dy in y
rectangle size.", "");
DocDeclStr(
wxRect&, Deflate(wxCoord dx, wxCoord dy),
"Decrease the rectangle size by dx in x direction and dy in y
rectangle size.", "");
DocDeclStr(
wxRect&, Deflate(wxCoord dx, wxCoord dy),
"Decrease the rectangle size by dx in x direction and dy in y
- wxRect&, Intersect(const wxRect& rect),
- "Return the intersectsion of this rectangle and rect.", "");
+ wxRect, Intersect(const wxRect& rect),
+ "Returns the intersectsion of this rectangle and rect.", "");
DocDeclStr(
wxRect, operator+(const wxRect& rect) const,
"Add the properties of rect to this rectangle and return the result.", "");
DocDeclStr(
wxRect, operator+(const wxRect& rect) const,
"Add the properties of rect to this rectangle and return the result.", "");
if (dest != wxRect(0,0,0,0)) {
bool blocked = wxPyBeginBlockThreads();
wxRect* newRect = new wxRect(dest);
if (dest != wxRect(0,0,0,0)) {
bool blocked = wxPyBeginBlockThreads();
wxRect* newRect = new wxRect(dest);
public:
DocStr(wxPoint2D, "Create a w.Point2D object.", "");
wxPoint2D( double x=0.0 , double y=0.0 );
public:
DocStr(wxPoint2D, "Create a w.Point2D object.", "");
wxPoint2D( double x=0.0 , double y=0.0 );
- %name(Point2DCopy) wxPoint2D( const wxPoint2D &pt );
- %name(Point2DFromPoint) wxPoint2D( const wxPoint &pt );
+ %RenameCtor(Point2DCopy, wxPoint2D( const wxPoint2D &pt ));
+ %RenameCtor(Point2DFromPoint, wxPoint2D( const wxPoint &pt ));
DocDeclAStr(
void, GetFloor( int *OUTPUT , int *OUTPUT ) const,
DocDeclAStr(
void, GetFloor( int *OUTPUT , int *OUTPUT ) const,
bool, operator!=(const wxPoint2D& pt) const,
"Test for inequality", "");
bool, operator!=(const wxPoint2D& pt) const,
"Test for inequality", "");