Implement EVT_CHAR_HOOK for wxOSX/Cocoa.

Send wxEVT_CHAR_HOOK event from wxOSX/Cocoa code.

Also test for wxEVT_CHAR_HOOK in the keyboard sample and show the effect of
not skipping it.

Closes #12431.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69889 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2011-12-02 00:50:12 +00:00
parent 8270459a11
commit edf5822ace
4 changed files with 54 additions and 14 deletions

View File

@@ -1372,8 +1372,7 @@ enum wxKeyCategoryFlags
generated. Notice that this event is not generated when the mouse is
captured as it is considered that the window which has the capture
should receive all the keyboard events too without allowing its parent
wxTopLevelWindow to interfere with their processing. Also please note
that currently this event is not generated by wxOSX/Cocoa port.
wxTopLevelWindow to interfere with their processing.
@endEventTable
@see wxKeyboardState