Fix HMENU to wxMenu translation in wxMSW code.
authorVadim Zeitlin <vadim@wxwidgets.org>
Thu, 31 Mar 2011 09:28:38 +0000 (09:28 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Thu, 31 Mar 2011 09:28:38 +0000 (09:28 +0000)
commita99a3029c80e77aff7d4ec529c3347650bc494e4
treee9e28bc441bbec0390652a2075ec15d44dc6b87d
parent40cb56e2489967a47654ee7991a88f62165701e6
Fix HMENU to wxMenu translation in wxMSW code.

We didn't find the menus corresponding to the submenu handles. This resulted
in incorrect processing of EVT_UPDATE_UI events for the submenus and probably
other problems.

Fix this by searching for the HMENU recursively in all menus.

Closes #13080.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67355 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
docs/changes.txt
include/wx/msw/menu.h
src/msw/frame.cpp
src/msw/menu.cpp