]> git.saurik.com Git - wxWidgets.git/blobdiff - utils/wxPython/src/gtk/gdi.py
added new wxHF_ flags
[wxWidgets.git] / utils / wxPython / src / gtk / gdi.py
index d72ccdbb9d64a923ff2f3de682a60bae164a5c11..538a8eb5d2549fef3d6f73c5f2e9c8669b7923ba 100644 (file)
@@ -226,6 +226,9 @@ class wxColourPtr :
         return val
     def __repr__(self):
         return "<C wxColour instance at %s>" % (self.this,)
+    asTuple = Get
+    def __str__(self): return str(self.asTuple())
+    def __repr__(self): return str(self.asTuple())
 class wxColour(wxColourPtr):
     def __init__(self,*_args,**_kwargs):
         self.this = apply(gdic.new_wxColour,_args,_kwargs)