The second answer was from Gareth Walters:
>Have a look in your XF86Config file for the 'Pointer' section if you see
>ZAxisMapping 4 5or something similar then X is remapping the wheel to
button
>presses.
I have such statement but EVT_CHAR do not generate any event.
You could try commenting out the ZAxisMapping setting and see if you get key
events again, but I think all the other windows may suffer as gtk and others
make good use of buttons 4 and 5.
Unfortunately it may not be possible to capture those button presses in
wxGTK and turn them into EVT_MOUSEWHEEL events. I found this in some gdk
docs:
"""
Button four and five events are generated by some scroll wheel mice when you
spin the scroll wheel; GTK+ attempts to capture these events and move nearby
scroll bars.
"""
ยทยทยท
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!