1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-14 00:14:18 +00:00

PopupMenu: Minor documentation fix

This commit is contained in:
hogliux 2017-08-14 10:43:35 +01:00
parent 4a2a5294a7
commit 2fbbb59fef

View file

@ -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,