Hi All,
···
I am getting the following error on windows XP it working fine on 2000
Traceback (most recent call last):
File “docBoxApp.py”, line 4, in ?
File “wx_init_.pyc”, line 42, in ?
File “wx_core.pyc”, line 3787, in ?
AttributeError: ‘module’ object has no attribute ‘wxEVT_SCROLL_ENDSCROLL’
working with
wx.version
‘2.6.3.3’
I had a look in
c:/Python23/Lib/site-packages/wx-2.6-msw-unicode/wx/_core.py
wxEVT_SCROLL_CHANGED = core.wxEVT_SCROLL_CHANGED
wxEVT_SCROLL_ENDSCROLL = wxEVT_SCROLL_CHANGED
is that way it is supposed to be…
I tried changing to
wxEVT_SCROLL_ENDSCROLL = core.wxEVT_SCROLL_ENDSCROLL
then i got the error
Traceback (most recent call last):
File “docBoxApp.py”, line 4, in ?
File “wx_init_.pyc”, line 42, in ?
File “wx_core.pyc”, line 3788, in ?
AttributeError: ‘module’ object has no attribute ‘wxEVT_SCROLL_ENDSCROLL’
EVT_SCROLL_CHANGED = wx.PyEventBinder( wxEVT_SCROLL_CHANGED )
EVT_SCROLL_ENDSCROLL = EVT_SCROLL_CHANGED
so I changed with
EVT_SCROLL_ENDSCROLL = wx.PyEventBinder( wxEVT_SCROLL_ENDSCROLL )
but still getting the same error…
any help
Thomas