Refactor the event processing code to add ProcessEventLocally().
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 9 May 2010 14:55:28 +0000 (14:55 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 9 May 2010 14:55:28 +0000 (14:55 +0000)
commit3cbb9df817f7dbd00ced084aaa6f5a782d0d839b
tree457d32c61f484baf99138abb18b484f4da8ea15f
parent255ea4a7028b5f0fd9aa5807c67e23a2c1b4d49c
Refactor the event processing code to add ProcessEventLocally().

This new method can be used to only process the event in this handler or any
handlers connected to it (unlike ProcessEventHere() which doesn't follow the
chain at all), without propagating the event upwards (unlike ProcessEvent()).

Unfortunately implementing this required a field to wxEvent but there doesn't
seem to be any other way to do what we need.

There should be no user-visible changes after this commit, it just paves the
way for the upcoming fixes.

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