]> git.saurik.com Git - wxWidgets.git/commit
Use wxFrame::FindItemInMenuBar() in ProcessCommand().
authorVadim Zeitlin <vadim@wxwidgets.org>
Thu, 5 Apr 2012 22:27:26 +0000 (22:27 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Thu, 5 Apr 2012 22:27:26 +0000 (22:27 +0000)
commit1ff3e9aae5dfdf2cfeba4d8ec44c0640626f98ad
treed87442e45e6b8ab9e9e750ac9463cb396af6c993
parentcdacccaee86586cca3fa15f51eb572db2c1024c9
Use wxFrame::FindItemInMenuBar() in ProcessCommand().

Don't duplicate FindItemInMenuBar() code in ProcessCommand() and, more
importantly, use the overridden version of FindItemInMenuBar() in MDI parent
frame in wxMSW to allow using ids corresponding to the active child frame menu
items.

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