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 Remove support for Win9x from wxMSW. 2014-05-16 02:33:40 +00:00
Makefile.in Merge wxQT branch into the trunk. 2014-08-24 01:50:11 +00:00
makefile.unx
makefile.vc Remove support for Win9x from wxMSW. 2014-05-16 02:33:40 +00:00
makefile.vms
mdi_vc7.vcproj Remove support for Win9x from wxMSW. 2014-05-16 02:33:40 +00:00
mdi_vc8.vcproj Generate 64 bit configurations in MSVC 8/9 projects. 2014-06-24 23:54:08 +00:00
mdi_vc9.vcproj Generate 64 bit configurations in MSVC 8/9 projects. 2014-06-24 23:54:08 +00:00
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