On Mar 7, 2010, at 12:01 PM, johnf wrote:
> Traceback (most recent call last):
> File "/home/johnf/dabo/dabo/ui/uiwx/dPanel.py", line 309, in __onWxScrollWin
> 10070: dEvents.ScrollThumbDrag, 10071: dEvents.ScrollThumbRelease}[typ]
> KeyError: 10144
> Traceback (most recent call last):
> File "/home/johnf/dabo/dabo/ui/uiwx/dPanel.py", line 309, in __onWxScrollWin
> 10070: dEvents.ScrollThumbDrag, 10071: dEvents.ScrollThumbRelease}[typ]
> KeyError: 10144
> Traceback (most recent call last):
> File "/home/johnf/dabo/dabo/ui/uiwx/dPanel.py", line 309, in __onWxScrollWin
> 10070: dEvents.ScrollThumbDrag, 10071: dEvents.ScrollThumbRelease}[typ]
> KeyError: 10145
Crap - you mean that they use different IDs for the same event under
different platforms?
OK, can you run the following for me on Linux (and Windows, too, if you
have that handy)?
print "EVT_SCROLLWIN_TOP", wx.EVT_SCROLLWIN_TOP.typeId
print "EVT_SCROLLWIN_BOTTOM", wx.EVT_SCROLLWIN_BOTTOM.typeId
print "EVT_SCROLLWIN_LINEUP", wx.EVT_SCROLLWIN_LINEUP.typeId
print "EVT_SCROLLWIN_LINEDOWN", wx.EVT_SCROLLWIN_LINEDOWN.typeId
print "EVT_SCROLLWIN_PAGEUP", wx.EVT_SCROLLWIN_PAGEUP.typeId
print "EVT_SCROLLWIN_PAGEDOWN", wx.EVT_SCROLLWIN_PAGEDOWN.typeId
print "EVT_SCROLLWIN_THUMBTRACK", wx.EVT_SCROLLWIN_THUMBTRACK.typeId
print "EVT_SCROLLWIN_THUMBRELEASE", wx.EVT_SCROLLWIN_THUMBRELEASE.typeId
-- Ed Leafe
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message:
http://leafe.com/archives/byMID/[email protected]