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:
parent
4a2a5294a7
commit
2fbbb59fef
1 changed files with 4 additions and 0 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue