X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1e4a197e4c60e461b8068b0619692ea083e30b8b..20c84410479ba60b03289608a5e6893f2936133d:/wxPython/demo/EventManager.py diff --git a/wxPython/demo/EventManager.py b/wxPython/demo/EventManager.py index 2966b930ff..25da54f2cb 100644 --- a/wxPython/demo/EventManager.py +++ b/wxPython/demo/EventManager.py @@ -188,7 +188,7 @@ class InnerTile(wxPanel): r = InnerTile.START_COLOR_TUPLE[0] + (InnerTile.DELTAS[0] * percent) g = InnerTile.START_COLOR_TUPLE[1] + (InnerTile.DELTAS[1] * percent) b = InnerTile.START_COLOR_TUPLE[2] + (InnerTile.DELTAS[2] * percent) - self.setColor(wxColor(r,g,b)) + self.setColor(wxColor(int(r), int(g), int(b)))