Provide short event type contants names consistent with event table macros
|Reported by:||vadz||Owned by:|
Currently you may use EVT_MENU to connect a menu event handler in an event table but have to write wxEVT_COMMAND_MENU_SELECTED to do the same with Bind(). This is bad as it needlessly penalizes the users of the latter. A simple solution is to rename the event type constant to wxEVT_MENU too, keeping wxEVT_COMMAND_MENU_SELECTED only for compatibility.
Notice that some event table macros correspond to multiple events, e.g. EVT_MOUSE so there still won't be quite a 1-to-1 mapping between event table macros and event types. We probably can't do anything about this.