X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/093d613e06133beb54af4ce05c50761fca7b3352..11f0bb6988110777c5ed8ef944cbdd8f8684d786:/wxPython/src/_gdicmn.i diff --git a/wxPython/src/_gdicmn.i b/wxPython/src/_gdicmn.i index f925aa8da3..4bbbe4a686 100644 --- a/wxPython/src/_gdicmn.i +++ b/wxPython/src/_gdicmn.i @@ -130,6 +130,11 @@ public: ~wxSize(); +// %extend { +// bool __eq__(const wxSize* other) { return other ? (*self == *other) : False; } +// bool __ne__(const wxSize* other) { return other ? (*self != *other) : True; } +// } + DocDeclStr( bool, operator==(const wxSize& sz), "Test for equality of wx.Size objects.");