We have a bunch of menus in Padre with Wx::Event::EVT_MENU setup to do something. Is there a built-in way for the callback to know the on which menu item was it called?
I can add it to the callback as it is closure but shouldn't for example the GetEventObject method of http://docs.wxwidgets.org/2.8.10/wx_wxevent.html return the MenuItem ? regards Gabor