X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7aada1e05a7ed29ee5a0afb5f3464b803e966d7c..dbe6f5f00beefc0901945758693b6d79295904ad:/wxPython/src/_palette.i diff --git a/wxPython/src/_palette.i b/wxPython/src/_palette.i index ae12eb90cc..ca1c1c28e7 100644 --- a/wxPython/src/_palette.i +++ b/wxPython/src/_palette.i @@ -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`"); };