It's very hard to tell a menu item selection from a hotkey in wxWidgets. We have a hack which checks to see if the menu is highlighted to determine if it's a menu selection. This is in ACTION_MENU::OnMenuEvent(). It works for OSX; this bug report would suggest it does not work for GTK. I'm not sure about MSW.
It's very hard to tell a menu item selection from a hotkey in wxWidgets. We have a hack which checks to see if the menu is highlighted to determine if it's a menu selection. This is in ACTION_ MENU::OnMenuEve nt(). It works for OSX; this bug report would suggest it does not work for GTK. I'm not sure about MSW.