Mac Menu Empty


#1

I am using MenuBarModel::setMacMainMenu to set a menu model but it does not seem to work. When you click the "Creator" menu entry, it will be empty so no submenu will open at all.

On the screenshot, the mac main menu and the displayed menubar have the same model assigned.

https://www.dropbox.com/s/nfwc9seu5jhyu9a/macmenu.jpg?dl=0

Does the Mac menu have special requirements on items that must be present?


#2

There's no special requirements AFAIK.. Obviously this works in things like the introjucer and juce demo - maybe try modifying that code to see what's different in yours which could be causing a problem?


#3

Okay thanks for the information. I will have a closer look once I have more time to look into this.


#4

This was due to initialiseNSApplication() not being called for Macintosh.

So the native menubar is now also working.