Fix recently broken generation of wxEVT_CHAR_HOOK events in wxMSW.
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 22 Sep 2010 13:31:32 +0000 (13:31 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 22 Sep 2010 13:31:32 +0000 (13:31 +0000)
commit246117d4440eeea80d965d96c63b7229912c1308
tree885edb75d07c5e898b73afa51b506bb7c37bc970
parenta323f63a8df1f285efba29e4be28e6bde3f6d4ff
Fix recently broken generation of wxEVT_CHAR_HOOK events in wxMSW.

Changes to VKToWX() semantics broke the logic of the global keyboard hook
function in wxMSW which didn't generate wxEVT_CHAR_HOOK events for ASCII
special keys such as WXK_ESCAPE any more.

Fix this and also generate wxEVT_CHAR_HOOK for all events, not just the
non-ASCII keys for consistency with the documentation and wxGTK.

Closes #12501.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65589 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/msw/window.cpp