From 9c0e44102b90e531b5faf15a4b8d75ada56853c4 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Tue, 16 Dec 2008 14:52:29 +0000 Subject: [PATCH] mention that mouse events carry position in window coordinates of the window which generated the event (#10274) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@57368 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- docs/latex/wx/mouseevt.tex | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/docs/latex/wx/mouseevt.tex b/docs/latex/wx/mouseevt.tex index 57ac72ac10..6a66337e46 100644 --- a/docs/latex/wx/mouseevt.tex +++ b/docs/latex/wx/mouseevt.tex @@ -288,9 +288,9 @@ for the same events for the middle and the right buttons respectively. \constfunc{void}{GetPosition}{\param{long*}{ x}, \param{long*}{ y}} -Sets *x and *y to the position at which the event occurred. +Sets *x and *y to the position at which the event occurred on the window. -Returns the physical mouse position in pixels. +Returns the physical mouse position on the window in pixels. Note that if the mouse event has been artificially generated from a special keyboard combination (e.g. under Windows when the ``menu'' key is pressed), the @@ -301,9 +301,9 @@ returned position is \texttt{wxDefaultPosition}. \constfunc{wxPoint}{GetLogicalPosition}{\param{const wxDC\&}{ dc}} -Returns the logical mouse position in pixels (i.e. translated according to the -translation set for the DC, which usually indicates that the window has been scrolled). - +Returns the logical mouse position on the window in pixels (i.e. translated +according to the translation set for the DC, which usually indicates that the +window has been scrolled). \membersection{wxMouseEvent::GetLinesPerAction}\label{wxmouseeventgetlinesperaction} @@ -339,14 +339,14 @@ should occur for each delta. \constfunc{long}{GetX}{\void} -Returns X coordinate of the physical mouse event position. +Returns the X coordinate of the physical mouse event position on the window. \membersection{wxMouseEvent::GetY}\label{wxmouseeventgety} \func{long}{GetY}{\void} -Returns Y coordinate of the physical mouse event position. +Returns the Y coordinate of the physical mouse event position on the window. \membersection{wxMouseEvent::IsButton}\label{wxmouseeventisbutton}