From 2fbbb59fefe3e4fc4901a266a864ae46776936de Mon Sep 17 00:00:00 2001 From: hogliux Date: Mon, 14 Aug 2017 10:43:35 +0100 Subject: [PATCH] PopupMenu: Minor documentation fix --- modules/juce_gui_basics/menus/juce_PopupMenu.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/juce_gui_basics/menus/juce_PopupMenu.h b/modules/juce_gui_basics/menus/juce_PopupMenu.h index 14d36b8fc1..dd81f49b1c 100644 --- a/modules/juce_gui_basics/menus/juce_PopupMenu.h +++ b/modules/juce_gui_basics/menus/juce_PopupMenu.h @@ -280,6 +280,8 @@ public: This will add a user-defined component to use as a menu item. The component passed in will be deleted by this menu when it's no longer needed. + Note that native macOS menus do not support custom components. + @see CustomComponent */ void addCustomItem (int itemResultID, @@ -296,6 +298,8 @@ public: detection of a mouse-click on your component, and use that to trigger the menu ID specified in itemResultID. If this is false, the menu item can't be triggered, so itemResultID is not used. + + Note that native macOS menus do support custom components. */ void addCustomItem (int itemResultID, Component* customComponent,