macOS expose scroll invertion in event
applied patch from #18358, thanks for the patch Andy
This commit is contained in:
parent
593257ea05
commit
f163578c94
5 changed files with 28 additions and 3 deletions
|
|
@ -708,9 +708,10 @@ void MyCanvas::OnMouseWheel( wxMouseEvent &event )
|
|||
int x,y;
|
||||
CalcUnscrolledPosition( pt.x, pt.y, &x, &y );
|
||||
wxLogMessage( "Mouse wheel event at: %d %d, scrolled: %d %d\n"
|
||||
"Rotation: %d, delta = %d",
|
||||
"Rotation: %d, delta: %d, inverted: %d",
|
||||
pt.x, pt.y, x, y,
|
||||
event.GetWheelRotation(), event.GetWheelDelta() );
|
||||
event.GetWheelRotation(), event.GetWheelDelta(),
|
||||
event.IsWheelInverted() );
|
||||
|
||||
event.Skip();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue