If you have a cool piece of software to share, but you are not hosting it officially yet, please dump it in here. If you have code snippets that are useful, please donate!
- In need of some credit
- Posts: 4
- Joined: Sun Sep 05, 2004 9:18 pm
- Location: Spain
You may have noticed the mouse wheel scrolling does not work for the wxGrid under Linux.
Here is a simple, but effective work-around (add to your wxGrid-drived class):
Code: Select all
void EzGrid::OnMouseWheel( wxMouseEvent& event )
int nWheelRotation = event.GetWheelRotation();
int x, y;
if (nWheelRotation < 0) y+=5;
else y -= 5;
- Posts: 1319
- Joined: Mon Aug 30, 2004 6:01 pm
This might make a good patch to wxGrid I think...
[Mostly retired moderator, still check in to clean up some stuff]