Add WXK_CONTROL_A..WXK_CONTROL_Z constants.
These key codes provide nicer symbolic values for ASCII values in 1..26 range generated by Ctrl+Letter keys. Closes #13075. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67294 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1252,6 +1252,8 @@ enum wxKeyCategoryFlags
|
||||
Notice that currently no translation is done for the presses of @c [, @c
|
||||
\\, @c ], @c ^ and @c _ keys which might be mapped to ASCII values from 27
|
||||
to 31.
|
||||
Since version 2.9.2, the enum values @c WXK_CONTROL_A - @c WXK_CONTROL_Z
|
||||
can be used instead of the non-descriptive constant values 1-26.
|
||||
|
||||
Finally, modifier keys only generate key events but no char events at all.
|
||||
The modifiers keys are @c WXK_SHIFT, @c WXK_CONTROL, @c WXK_ALT and various
|
||||
|
Reference in New Issue
Block a user