Feature #5652 2013-06-06 09:41
ollydbg
merge the same ID in wxsmith
If both a menu ID and a Toolbar item ID are using the same name, wxsmith will create two line of
static const long idName; // for menu item ... static const long idName; // for toolbar item
This leads to a build error.
I think wxsmith should detect the same ID name, then merge the two, so they can share the same event handler and the same event ID.
- Category
- RAD
- Status
- Open
- Close date
- Assigned to
History
ollydbg 2013-06-06 09:46
Oh, maybe it is not good idea to use the same ID name for toolbar. Because we have different event type, for toolbar it is : wxEVT_COMMAND_TOOL_CLICKED, for menu item, it is : wxEVT_COMMAND_MENU_SELECTED.