- fix: rename wx.Color to Colour because of new wx version

This commit is contained in:
Ulrich Knechtelsdorfer
2016-04-06 22:47:40 +02:00
parent 024d38bad6
commit 10f6eea47a

View File

@@ -255,7 +255,7 @@ class PanelUsers (wx.Panel):
self.but.SetBackgroundColour((255-(i*20 % 40), (160+(i*50 % 100)), 0))
#self.but.SetForegroundColour("#006699")
self.but.SetPressColor(wx.Color(255,255,255,0))
self.but.SetPressColor(wx.Colour(255,255,255,0))
self.but.SetFont(wx.Font(25, wx.DEFAULT, wx.NORMAL, wx.NORMAL, 0, "Humor Sans"))
self.but.Bind(wx.EVT_LEFT_DOWN, parent.onUser, id=self.but.Id)
self.but_names.append(self.but)