]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/_colour.i
reSWIGged
[wxWidgets.git] / wxPython / src / _colour.i
index 97d24530a82bd6843df3f9e5a493f1c7a5f62192..c1df0f8df2ece5d047b813697bc668bc60136df3 100644 (file)
@@ -75,7 +75,7 @@ public:
     %pythoncode {
         asTuple = Get
         def __str__(self):                  return str(self.asTuple())
-        def __repr__(self):                 return 'wxColour' + str(self.asTuple())
+        def __repr__(self):                 return 'wx.Colour' + str(self.asTuple())
         def __nonzero__(self):              return self.Ok()
         def __getinitargs__(self):          return ()
         def __getstate__(self):             return self.asTuple()
@@ -83,9 +83,10 @@ public:
         }
 };
 
-%pythoncode {
-    Color = Colour
-    NamedColor = NamedColour    
-}
+// %pythoncode {
+//     Color = Colour
+//     NamedColor = NamedColour    
+// }
+
 //---------------------------------------------------------------------------