]> git.saurik.com Git - wxWidgets.git/blobdiff - utils/wxPython/src/msw/misc.py
Better dependency checking
[wxWidgets.git] / utils / wxPython / src / msw / misc.py
index 7aa83f61a385562b388a6b920ebcb2ec859cffcb..bdcb7de858f65161bfd970b970dc1ede4cca4821 100644 (file)
@@ -74,6 +74,12 @@ class wxRealPointPtr :
     def __del__(self,miscc=miscc):
         if self.thisown == 1 :
             miscc.delete_wxRealPoint(self)
+    def Set(self, *_args, **_kwargs):
+        val = apply(miscc.wxRealPoint_Set,(self,) + _args, _kwargs)
+        return val
+    def asTuple(self, *_args, **_kwargs):
+        val = apply(miscc.wxRealPoint_asTuple,(self,) + _args, _kwargs)
+        return val
     def __setattr__(self,name,value):
         if name == "x" :
             miscc.wxRealPoint_x_set(self,value)
@@ -90,6 +96,8 @@ class wxRealPointPtr :
         raise AttributeError,name
     def __repr__(self):
         return "<C wxRealPoint instance at %s>" % (self.this,)
+    def __str__(self): return str(self.asTuple())
+    def __repr__(self): return str(self.asTuple())
 class wxRealPoint(wxRealPointPtr):
     def __init__(self,*_args,**_kwargs):
         self.this = apply(miscc.new_wxRealPoint,_args,_kwargs)