I just notice that the item generated from wx has the same name and key. This may lead to a problem when user want to change the name of the menu item and leave the key unchanged. At present, changing the menu will break the application because the logic is according to the generated menu.
I think it's necessary to provide a way to customize the menu JSON directly.