X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/da32eb53cbe7947f3f4599d7b6b5caa21a68d27f..49bffb1482cd2a6a30b38280f6c9bffc72dbfe42:/wxPython/src/_gdicmn.i diff --git a/wxPython/src/_gdicmn.i b/wxPython/src/_gdicmn.i index 5ccbf5d5ba..5b86c9a6e0 100644 --- a/wxPython/src/_gdicmn.i +++ b/wxPython/src/_gdicmn.i @@ -130,6 +130,7 @@ public: ~wxSize(); +// None/NULL is now handled properly by the typemap, so these are not needed. // %extend { // bool __eq__(const wxSize* other) { return other ? (*self == *other) : False; } // bool __ne__(const wxSize* other) { return other ? (*self != *other) : True; } @@ -170,6 +171,19 @@ public: int GetWidth() const; int GetHeight() const; + + DocDeclStr( + bool , IsFullySpecified() const, + "Returns True if both components of the size are non-default values."); + + + DocDeclStr( + void , SetDefaults(const wxSize& size), + "Combine this size with the other one replacing the default +components of this object (i.e. equal to -1) with those of the +other."); + + //int GetX() const; //int GetY() const;