From: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX - 2007-09-04 13:15:34
|
On 10/08/2007 15:01, Kevin Altis wrote: > ... I have moved to Python 2.5.x and wxPython 2.8.x for my own work, > so that is what I'm testing against. Kevin...could you check whether wxPython 2.8.x on your machine is returning 4-element wxColor tuples, i.e. RGB + alpha, when you try changing the foreground/background colors in the resource/layout editor? Anybody else using 2.5.x or 2.6.x - could you check whether the color selector is just returning RGB? My situation is unusual, in that I'm mainly developing on Windows XP + wxPython 2.8.x alongside Windows NT + wxPython 2.5.x and yesterday I copied a project from the XP box onto the NT box only to find that the resource editor failed after importing half the components. My initial examination of the stack trace and code makes me think that the 2.5.x system cannot cope when it reads in a colour tuple that looks like (255,0,0,255) instead of (255,0,0). Unfortunately when I looked at the on-line wxPython docs they make very little reference to the alpha channel, so I want to make sure there isn't something weird going on that is isolated to my XP machine. -- XXXXXXXXXXX |