Complete wxEVT_MENU_{OPEN,CLOSE} implementation in wxMSW and wxOSX.
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 28 Dec 2011 13:51:17 +0000 (13:51 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 28 Dec 2011 13:51:17 +0000 (13:51 +0000)
commit7f3f059ac5f8e01052f9fb0854e31cb2303e193d
tree3791dbc2299944425c5b69406a657d5c9d7aa0b4
parentc2cd367f7dc5ce7e6a25d2ab778b4fe6e210e312
Complete wxEVT_MENU_{OPEN,CLOSE} implementation in wxMSW and wxOSX.

Set the wxMenu correctly for wxEVT_MENU_CLOSE events in wxMSW.

Set the menu id correctly to allow wxMenuEvent::IsPopup() to work for both
wxEVT_MENU_OPEN and wxEVT_MENU_CLOSE in wxOSX.

Closes #11313.

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