Callback when user clicks on menu?



I’ve noticed that there is a difference in the way MenuBarModel::getMenuForIndex is called on windows and osx.
On windows, the callback is made when the user clicks on one of the menu bar items. On osx, this is done after you’ve clicked one of the subitems inside the menu item.
Is there any way to get a sort of callback on osx when the user has clicked the menu (ie. is about to display the menu)?