Menu Item Icon and KeyPress

I’m in need of a Menu Item that has an Icon as well as a Keypress attached to it. I’m using the ApplicationCommandManager because that’s the only way to attach a Keypress to a Menu Item (which forces you to use the ApplicationCommandManager unfortunately) but there is no overload that allows you to specifiy an Icon as well

.

Would it be possible if you guys add an overload like this to the PopupMenu class:

void addCommandItem (ApplicationCommandManager* commandManager,

                 CommandID commandID,

                     const Image& iconToUse,

                     const String& displayName = String::empty);

Or maybe add an extra member to the ApplicationCommandInfo that holds the Icon (Image).

Or do you recommend doing this another way?

What about the new PopupMenu::Item class? That gives full control over every aspect of the items you add.

Ahhh, i missed that. Looks indeed what i need, also nice that it you are not forced anymore to use the ApplicationCommandManager if you want keypresses linked to your menu items.