X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/803ef874920f97ef6ff49996ead5d62bc7052215..34bbbc276dc470014c8d200cfbbf7f588076aeaf:/docs/latex/wx/keyevent.tex diff --git a/docs/latex/wx/keyevent.tex b/docs/latex/wx/keyevent.tex index 95552f4206..34dfc6afd3 100644 --- a/docs/latex/wx/keyevent.tex +++ b/docs/latex/wx/keyevent.tex @@ -93,6 +93,14 @@ Returns TRUE if the Alt key was down at the time of the key event. Returns TRUE if the control key was down at the time of the key event. +\membersection{wxKeyEvent::GetKeyCode} + +\constfunc{int}{GetKeyCode}{\void} + +Returns the virtual key code. ASCII events return normal ASCII values, +while non-ASCII events return values such as {\bf WXK\_LEFT} for the +left cursor key. See \helpref{Keycodes}{keycodes} for a full list of the virtual key codes. + \membersection{wxKeyEvent::GetX} \constfunc{long}{GetX}{\void} @@ -105,14 +113,6 @@ Returns the X position of the event. Returns the Y position of the event. -\membersection{wxKeyEvent::KeyCode} - -\constfunc{long}{KeyCode}{\void} - -Returns the virtual key code. ASCII events return normal ASCII values, -while non-ASCII events return values such as {\bf WXK\_LEFT} for the -left cursor key. See \helpref{Keycodes}{keycodes} for a full list of the virtual key codes. - \membersection{wxKeyEvent::MetaDown} \constfunc{bool}{MetaDown}{\void} @@ -127,6 +127,14 @@ Returns TRUE if the Meta key was down at the time of the key event. Obtains the position at which the key was pressed. +\membersection{wxKeyEvent::HasModifiers} + +\constfunc{bool}{HasModifiers}{\void} + +Returns TRUE if either of {\sc Ctrl}, {\sc Alt} or {\sc Meta} keys was down +at the time of the key event. Note that this function does not take into +account the {\sc Shift} key state. + \membersection{wxKeyEvent::ShiftDown} \constfunc{bool}{ShiftDown}{\void}