]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/msw/misc.py
fixed the last of the off-by-one errors (some are refixed, again...)
[wxWidgets.git] / wxPython / src / msw / misc.py
index de639e834b03489cbe22438a63eab46ab725a128..13e92a9c847c877e48e91c27725a75c47cc34efa 100644 (file)
@@ -50,6 +50,9 @@ class wxSizePtr :
     def asTuple(self, *_args, **_kwargs):
         val = apply(miscc.wxSize_asTuple,(self,) + _args, _kwargs)
         return val
+    def __cmp__(self, *_args, **_kwargs):
+        val = apply(miscc.wxSize___cmp__,(self,) + _args, _kwargs)
+        return val
     def __setattr__(self,name,value):
         if name == "x" :
             miscc.wxSize_x_set(self,value)