R, V and B are 8 bit values, not floats !!
try : btn.SetBackgroundColor(wx.Colour(254,0,0))
BR
F.G.
···
On Fri, 11 Jun 2004 13:33:52 +0100 Alexander Tournier wrote:
btn.SetBackgroundColor((1.,0.,0.))
btn.SetBackgroundColor(wx.Colour(1.,0.,0.))it (Button or Panel) just goes black!!!!