don't check for Meta key in wxKeyEvent::HasModifiers()

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11886 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2001-10-08 15:58:52 +00:00
parent a8d20c57ae
commit d11710cbb5
2 changed files with 9 additions and 3 deletions

View File

@@ -131,9 +131,12 @@ Obtains the position at which the key was pressed.
\constfunc{bool}{HasModifiers}{\void}
Returns TRUE if either of {\sc Ctrl}, {\sc Alt} or {\sc Meta} keys was down
Returns TRUE if either {\sc Ctrl} or {\sc Alt} keys was down
at the time of the key event. Note that this function does not take into
account the {\sc Shift} key state.
account neither {\sc Shift} nor {\sc Meta} key states (the reason for ignoring
the latter is that it is common for {\sc NumLock} key to be configured as
{\sc Meta} under X but the key presses even while {\sc NumLock} is on should
be still processed normally).
\membersection{wxKeyEvent::ShiftDown}