]> git.saurik.com Git - wxWidgets.git/commit
Call wxEvtHandler::TryBefore() only once from ProcessEvent().
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 9 May 2010 14:55:21 +0000 (14:55 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 9 May 2010 14:55:21 +0000 (14:55 +0000)
commit255ea4a7028b5f0fd9aa5807c67e23a2c1b4d49c
tree52a9f13e11fd9fa251d3cda586953a6cfd507ac7
parentc0c05e79b20d6ca372ece6ac5995b0e3db18a29b
Call wxEvtHandler::TryBefore() only once from ProcessEvent().

The event pre-processing hooks associated with the window should be called
only once during the event processing, we don't need to call TryBefore() for
each and every event handler associated with the window too.

This makes the code slightly simpler and faster and shouldn't change the
behaviour of any existing code.

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