Ticket #13683 (confirmed defect)
MSW: wxEVT_MENU_HIGHLIGHTshould be sent to the menu owner, not parent frame
|Reported by:||daumling||Owned by:|
Currently, only the frame window message handler handles a WM_MENUSELECT message. This makes it difficult for popup menus on other windows to display help text. IMHO, the generic window message handler should handle this event as well so any window can have a handler for the wxEVT_MENU_HIGHLIGHT handler.
A workaround is possible. Have the main frame display the context menu at the right position, but bind the wxEVT_COMMAND_MENU_SELECTED event to the owning window (the one that opened the popup menu) before so the owning window can handle the commands. In that case, the owning window must also handle message bubbling, though.