Restore the note about auto-repeat in key events documentation.

Closes #12598.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65866 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2010-10-22 16:33:38 +00:00
parent 1d91908363
commit 5effc1cf58

View File

@@ -1283,6 +1283,11 @@ enum wxKeyCategoryFlags
event.Skip() in your @c wxEVT_KEY_DOWN handler. Not doing may also event.Skip() in your @c wxEVT_KEY_DOWN handler. Not doing may also
prevent accelerators defined using this key from working. prevent accelerators defined using this key from working.
@note If a key is maintained in a pressed state, you will typically get a
lot of (automatically generated) key down events but only one key up
one at the end when the key is released so it is wrong to assume that
there is one up event corresponding to each down one.
@note For Windows programmers: The key and char events in wxWidgets are @note For Windows programmers: The key and char events in wxWidgets are
similar to but slightly different from Windows @c WM_KEYDOWN and similar to but slightly different from Windows @c WM_KEYDOWN and
@c WM_CHAR events. In particular, Alt-x combination will generate a @c WM_CHAR events. In particular, Alt-x combination will generate a