From 9aeb24a0f6bbccd74983de54edc5e25a0f5beb23 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Wed, 25 Oct 2006 00:06:43 +0000 Subject: [PATCH] clarify GetWheelRotation() (bug 969231) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42369 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- docs/latex/wx/mouseevt.tex | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/docs/latex/wx/mouseevt.tex b/docs/latex/wx/mouseevt.tex index f8ccc69ed6..57ac72ac10 100644 --- a/docs/latex/wx/mouseevt.tex +++ b/docs/latex/wx/mouseevt.tex @@ -319,12 +319,11 @@ wheel action. Defaults to three. \constfunc{int}{GetWheelRotation}{\void} Get wheel rotation, positive or negative indicates direction of -rotation. Current devices all send an event when rotation is equal to -+/-WheelDelta, but this allows for finer resolution devices to be -created in the future. Because of this you shouldn't assume that one -event is equal to 1 line or whatever, but you should be able to either -do partial line scrolling or wait until +/-WheelDelta rotation values -have been accumulated before scrolling. +rotation. Current devices all send an event when rotation is at least ++/-WheelDelta, but finer resolution devices can be created in the future. +Because of this you shouldn't assume that one event is equal to 1 line, but you +should be able to either do partial line scrolling or wait until several +events accumulate before scrolling. \membersection{wxMouseEvent::GetWheelDelta}\label{wxmouseeventgetwheeldelta}