override TryValidator() in wxMDIParentFrame to implement forwarding of menu/toolbar...
authorVadim Zeitlin <vadim@wxwidgets.org>
Thu, 26 Feb 2009 15:24:03 +0000 (15:24 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Thu, 26 Feb 2009 15:24:03 +0000 (15:24 +0000)
commitcd60273b3d988d2674faf953f7f4372b3b6664a9
tree33e13ad4e5ae5ef7ef6666accdb96555f85f9351
parent22cb31398e6a0a966289be8182653309d2929ca2
override TryValidator() in wxMDIParentFrame to implement forwarding of menu/toolbar events to the active child at wx level instead of forwarding the WM_COMMAND itself: this is better as it prevents the same event from being passed twice to wxApp fall back if a handler exists in the child frame but skips the event and also because the code is portable now and can be moved down to the base class; also call the base class TryValidator() from wxDocMDI classes

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