]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/_palette.i
Applied second part of patch #1570448, use the device origin for where
[wxWidgets.git] / wxPython / src / _palette.i
index ae12eb90cc4f91f3feef4fbd5e4465c92105de94..ca1c1c28e7b967c323441755babe7877b4afa9d6 100644 (file)
@@ -32,9 +32,12 @@ public:
         bool, GetRGB(int pixel, byte* OUTPUT, byte* OUTPUT, byte* OUTPUT),
         "GetRGB(self, int pixel) -> (R,G,B)");
 
+    int GetColoursCount() const;
     bool Ok();
 
     %pythoncode { def __nonzero__(self): return self.Ok() }
+
+    %property(ColoursCount, GetColoursCount, doc="See `GetColoursCount`");
 };