From: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX - 2007-09-05 12:44:07
|
On 05/09/2007 07:15, Kevin Altis wrote: > When the long 4 tuple is passed as an arg is where the actual > exception occurs under wxPython earlier than 2.7.1.1. You can try > this out in the shell yourself. Just run a sample like minimal.py > with the shell using an older wxPython... > > python minimal.py -s > > then type something like: > > >>> comp.field1.SetForegroundColour((0, 0, 0, 255)) > > to see if it throws an exception. Yes... File "C:\Python23\lib\site-packages\wx\_core.py", line 6982, in SetForegroundColour return _core_.Window_SetForegroundColour(*args, **kwargs) TypeError: Expected a wxColour object or a string containing a colour name or '#RRGGBB'. -- XXXXXXXXXXX |