]> git.saurik.com Git - wxWidgets.git/commit
Forward events to active child in wxMDIParentFrameBase, not only wxMSW.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 29 Jun 2013 12:53:44 +0000 (12:53 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 29 Jun 2013 12:53:44 +0000 (12:53 +0000)
commit6f65a5e1aa7e69de4ab41b62085a7419d58b52d9
treeee206a419ca06c45b2896cbac301091ac9c6194c
parent5d98e603bc42b09c4f3e47a89dc09f174d7a22e4
Forward events to active child in wxMDIParentFrameBase, not only wxMSW.

Menu, toolbar and update UI events should be forwarded to the active child
under all platforms in MDI applications and not only MSW, so move TryBefore()
overload from wxMSW wxMDIParentFrame to wxMDIParentFrameBase.

This should make things more consistent in general and notably fixes the lack
of toolbar events in wxDocChildFrame since the changes of r73928.

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