wxWidgets/samples/mdi
Vadim Zeitlin 8de1128c07 Return correct menu pointer for wxEVT_MENU_{OPEN,CLOSE} in MDI frames.
These events are supposed to carry a pointer to the menu which was opened or
closed, but wxMenuEvent::GetMenu() always returned NULL for the menus opened
when a child MDI frame was active, as its menu bar, containing the menu, was
not searched for it.

Fix this by overriding MSWFindMenuFromHMENU() at wxMDIParentFrame level, just
as we already do for FindItemInMenuBar().

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@78130 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-11-11 01:02:31 +00:00
..
bitmaps
chart.ico
chart.xpm
descrip.mms
makefile.bcc Fix resource compiler include path for Borland. 2014-10-11 16:30:00 +00:00
makefile.gcc
Makefile.in Merge wxQT branch into the trunk. 2014-08-24 01:50:11 +00:00
makefile.unx
makefile.vc
makefile.vms
mdi_vc7.vcproj
mdi_vc8.vcproj
mdi_vc9.vcproj
mdi.bkl
mdi.cpp Return correct menu pointer for wxEVT_MENU_{OPEN,CLOSE} in MDI frames. 2014-11-11 01:02:31 +00:00
mdi.h Return correct menu pointer for wxEVT_MENU_{OPEN,CLOSE} in MDI frames. 2014-11-11 01:02:31 +00:00
mdi.rc