clarified LeftIsDown() behaviour for left click events

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40775 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2006-08-23 15:11:35 +00:00
parent d02d8b4c27
commit dad0c6d322

View File

@@ -399,7 +399,9 @@ of the current event type.
Please notice that it is \emph{not} the same as Please notice that it is \emph{not} the same as
\helpref{LeftDown}{wxmouseeventleftdown} which returns \true if the event was \helpref{LeftDown}{wxmouseeventleftdown} which returns \true if the event was
generated by the left mouse button being pressed. Rather, it simply describes generated by the left mouse button being pressed. Rather, it simply describes
the state of the left mouse button at the time when the event was generated. the state of the left mouse button at the time when the event was generated
(so while it will be true for a left click event, it can also be true for
a right click if it happened while the left mouse button was pressed).
This event is usually used in the mouse event handlers which process "move This event is usually used in the mouse event handlers which process "move
mouse" messages to determine whether the user is (still) dragging the mouse. mouse" messages to determine whether the user is (still) dragging the mouse.