I am not sure, if this is intended behaviour and I should fix it in my
application, or if it should be fixed within wxPython.
I am using wxPython (wxGTK) 2.3.1 under linux.
When I use the mousewheel in a wxHtml window, everything works as
expected. When I however try to use the mousewheel in any other context,
the contents does not scroll unless I move to the scrollbar on the side,
where I can use the wheel as expected.
So the question is:
Do I have to add anything to the application (wxGrid and wxText) to
support the mouse wheel?
When I use the mousewheel in a wxHtml window, everything works as
expected. When I however try to use the mousewheel in any other context,
the contents does not scroll unless I move to the scrollbar on the side,
where I can use the wheel as expected.
So the question is:
Do I have to add anything to the application (wxGrid and wxText) to
support the mouse wheel?
It depends on the widget and what your X-server is sending for the wheel
events, (I don't think there is a specific wheel message like there is for
Win32.) IIRC, it may do nothing, it may send scroll events, or even up/down
key events. If the native widget handles those events then you're set, if
not then you can try catching the scroll events and then manually scroll the
widget, but that may not work in all cases.