Use ProcessEventLocally() instead of ProcessEventHere() in docview code.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 9 May 2010 14:55:41 +0000 (14:55 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 9 May 2010 14:55:41 +0000 (14:55 +0000)
commit44070fd37901a9fac597314730b55de6b9461382
tree57bd64761af9f7dd5ac71e3949758e7620736596
parent396e9eb8e296a2e128efa16c88c7899275b454ec
Use ProcessEventLocally() instead of ProcessEventHere() in docview code.

Use wxEvtHandler::ProcessEventLocally() instead of ProcessEventHere() when
forwarding events in the docview code. This ensures that any event handlers
chained with the objects involved (document manager, document, view) will be
used.

Incidentally the old code didn't work at all as ProcessEventHere() didn't even
call TryBefore() where the (further) forwarding was implemented.

Closes #10640.

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