]> git.saurik.com Git - wxWidgets.git/commit - interface/wx/window.h
Add wxWindow::ProcessWindowEventLocally() and use it in wxMSW MDI code.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 9 May 2010 14:55:33 +0000 (14:55 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 9 May 2010 14:55:33 +0000 (14:55 +0000)
commit396e9eb8e296a2e128efa16c88c7899275b454ec
tree1463b92ec6b52c661c903a5b1008088921beb693
parent3cbb9df817f7dbd00ced084aaa6f5a782d0d839b
Add wxWindow::ProcessWindowEventLocally() and use it in wxMSW MDI code.

Add ProcessWindowEventLocally() which wraps ProcessEventLocally() in the same
way as ProcessWindowEvent() wraps ProcessEvent(). I.e. it allows to process
the event in this window only, without propagating it upwards, but taking into
account any event handlers associated with it.

Use the new method in wxMDIParentFrame code in wxMSW to ensure that event
handlers pushed on MDI children frames are taken into account. Add a test for
this to the MDI sample.

Closes #11225.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64262 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
include/wx/window.h
interface/wx/window.h
samples/mdi/mdi.cpp
samples/mdi/mdi.h
src/msw/mdi.cpp