float --> int fixes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23903 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2003-09-24 20:24:51 +00:00
parent 04443bbfb0
commit 4c5304540d
4 changed files with 4 additions and 4 deletions

View File

@@ -57,7 +57,7 @@ class PyColourBox(wxPanel):
def SetColourTuple(self, colour):
"""Sets the box's current couple to the given tuple."""
self.colour = colour
self.colour_box.SetBackgroundColour(apply(wxColour, self.colour))
self.colour_box.SetBackgroundColour(wxColour(*self.colour))
def Update(self):
wxPanel.Update(self)