X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ec760ec9a000e39785cfd793a8dc7b61d8215d79..cdfb1ae1bcacb8327589a09e6a67f8fc1ef5a82e:/docs/latex/wx/mouseevt.tex diff --git a/docs/latex/wx/mouseevt.tex b/docs/latex/wx/mouseevt.tex index a470265f9a..a26d2b4c76 100644 --- a/docs/latex/wx/mouseevt.tex +++ b/docs/latex/wx/mouseevt.tex @@ -8,15 +8,15 @@ for the middle one and $3$ for the right one. Note that not all mice have a middle button so a portable application should avoid relying on the events from it. -{\bf NB: } Note that under Windows mouse enter and leave events are not natively supported +{\bf NB:} Note that under Windows mouse enter and leave events are not natively supported by the system but are generated by wxWindows itself. This has several drawbacks: the LEAVE\_WINDOW event might be received some time after the mouse left the window and the state variables for it may have changed during this time. -{\bf NB: } Note the difference between methods like +{\bf NB:} Note the difference between methods like \helpref{LeftDown}{wxmouseeventleftdown} and -\helpref{LeftIsDown}{wxmouseeventleftisdown}: the formet returns {\tt TRUE} +\helpref{LeftIsDown}{wxmouseeventleftisdown}: the format returns {\tt TRUE} when the event corresponds to the left mouse button click while the latter returns {\tt TRUE} if the left mouse button is currently being pressed. For example, when the user is dragging the mouse you can use @@ -291,6 +291,13 @@ Returns Y coordinate of the physical mouse event position. Returns TRUE if the event was a mouse button event (not necessarily a button down event - that may be tested using {\it ButtonDown}). +\membersection{wxMouseEvent::IsPageScroll} + +\constfunc{bool}{IsPageScroll}{\void} + +Returns TRUE if the system has been setup to do page scrolling with +the mouse wheel instead of line scrolling. + \membersection{wxMouseEvent::Leaving}\label{wxmouseeventleaving} \constfunc{bool}{Leaving}{\void}