Orange in Windows isn't very orange

Chris Carlen crobc at sbcglobal.net
Sun Mar 2 14:21:39 PST 2008


Hi:

 >>> wx.NamedColour("Orange")
wx.Colour(204, 50, 50, 255)

Yeah right, like that's orange?

In Linux:

wx.NamedColor("Orange")
wx.Colour(255, 165, 0, 255)

That's better.

What's with "Orange" in Windoze?

P.S.  wx.Python 2.8.6.0 in both OSes.


-- 
_____________________
Christopher R. Carlen
crobc at bogus-remove-me.sbcglobal.net
SuSE 9.1 Linux 2.6.5




More information about the wxpython-users mailing list