Object has no attribute 'Color', after Debian update

hi to everybody,

I have update my debian distro from 6 to 8 and now all calls to wx.Color return exceptions as

Traceback (most recent call last):
File “/home/bc/biochemiae/frames/patients.py”, line 216, in OnItemActivated
obj = patient.Dialog(parent = self)
File “/home/bc/biochemiae/frames/patient.py”, line 37, in init
self.txCode.SetForegroundColour(wx.Color(0, 0, 255))
AttributeError: ‘module’ object has no attribute ‘Color’

this is wx version

bc@hal9000:~/biochemiae$ python
Python 2.7.9 (default, Mar 1 2015, 12:57:24)
[GCC 4.9.2] on linux2
Type “help”, “copyright”, “credits” or “license” for more information.

import wx
wx.version()
‘3.0.1.1 gtk2 (classic)’

someone has the same problem?

p.s.
I’ have installed Mate, but I get this problem even on Xfce

regards
beppe

Try wx.Colour() instead.

···

On Thu, 4 Aug 2016, beppe wrote:

hi to everybody,

I have update my debian distro from 6 to 8 and now all calls to wx.Color
return exceptions as

Traceback (most recent call last):
File "/home/bc/biochemiae/frames/patients.py", line 216, in
OnItemActivated
obj = patient.Dialog(parent = self)
File "/home/bc/biochemiae/frames/patient.py", line 37, in __init__
self.txCode.SetForegroundColour(wx.Color(0, 0, 255))
AttributeError: 'module' object has no attribute 'Color'