Make wxEVT_CHAR_HOOK behave in wxGTK as in wxMSW.
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 2 Dec 2011 00:50:22 +0000 (00:50 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 2 Dec 2011 00:50:22 +0000 (00:50 +0000)
commitf47a3591130b79d82a851b7eb7a73382fd6d89c2
tree8b23ae755084c50e551872d0c73fc1b566142537
parente45d90901d75b511a851f94306f171fefb06e493
Make wxEVT_CHAR_HOOK behave in wxGTK as in wxMSW.

Send wxEVT_CHAR_HOOK before wxEVT_KEY_DOWN and avoid generating both
wxEVT_KEY_DOWN and wxEVT_CHAR if the hook event was handled.

This makes wxGTK behave consistently with wxMSW and wxOSX/Cocoa as can be seen
in the keyboard sample.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69892 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
interface/wx/event.h
src/gtk/window.cpp