I have added code to juce demo to display about and preferences menu items in the apple menu. It shows up and I am able to handle mouse clicks, but I couldn’t display short cut keys
This is my code.
PopupMenu *pop = new PopupMenu(); pop->addItem (111, T("Juce Demo")); pop->addSeparator(); pop->addItem (112, T("Preferences")); pop->addSeparator(); MenuBarModel::setMacMainMenu ((ContentComp*) mainWindow->getContentComponent(),pop);
What do I have to do to display the short cut keys.