I have some code with a menu with checked items and a toolbar with toolbaritems for the same checked items. Following the wxWidgets sample samples/richtext.cpp I tried to set the Identifiers to the same value but wxSmith refuses (probably to prevent inadvertent duplicates). If I edit the code to make them the same all works well. Could wxSmith just warn me of duplicates rather than outright forbidding them?
I am no expert in this area, I am just copying the one example I found. Perhaps there is a better way to sync the ToolBar and Menu?