]> git.saurik.com Git - wxWidgets.git/commit
Make wxEVT_CHAR_HOOK propagate upwards and send it to the window itself.
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 2 Dec 2011 00:50:25 +0000 (00:50 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 2 Dec 2011 00:50:25 +0000 (00:50 +0000)
commit3a95f73c001e70cd195ea1d46df3040dea7532e8
tree9128f3a938b8262dca53496602fc52aed2eab470
parentf47a3591130b79d82a851b7eb7a73382fd6d89c2
Make wxEVT_CHAR_HOOK propagate upwards and send it to the window itself.

Send wxEVT_CHAR_HOOK events to the focused window itself but make them
propagatable to ensure that the parent windows (including the top level
parent) still get it. This still allows the TLW parent to intercept keyboard
handling in its child but allows the child (or an intermediate parent window)
to have some say in the matter.

See #9102.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69893 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
include/wx/event.h
interface/wx/event.h
src/common/event.cpp
src/gtk/window.cpp
src/msw/window.cpp
src/osx/carbon/app.cpp
src/osx/cocoa/window.mm