From: Václav Slavík Date: Wed, 6 Oct 2004 19:46:11 +0000 (+0000) Subject: added reference to GetUnicodeKey to GetKeyCode X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/67aa6c1ee61d163ef634687640f3dc2c4aa36e84 added reference to GetUnicodeKey to GetKeyCode git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29679 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/docs/latex/wx/keyevent.tex b/docs/latex/wx/keyevent.tex index ef564f4126..7fbfa91e51 100644 --- a/docs/latex/wx/keyevent.tex +++ b/docs/latex/wx/keyevent.tex @@ -168,7 +168,13 @@ Returns true if the control key was down at the time of the key event. 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. +left cursor key. See \helpref{Keycodes}{keycodes} for a full list of +the virtual key codes. + +Note that in Unicode build, the returned value is meaningful only if the +user entered a character that can be represented in current locale's default +charset. You can obtain the corresponding Unicode character using +\helpref{GetUnicodeKey}{wxkeyeventgetunicodekey}. \membersection{wxKeyEvent::GetPosition}\label{wxkeyeventgetposition}