Pass Drawable to PopupMenu::addCommandItem

​In PopupMenu class, passing a Drawable* iconToUse in addCommandItem like this:


void addCommandItem (ApplicationCommandManager* commandManager,
                     CommandID commandID,
                     const String& displayName = String::empty,
                     Drawable* iconToUse = nullptr);

Would be very appreciated !

Done, please update to the newest tip!

I hope that this gives you the functionality you require.

Hey Timur that was perfect thanx a lot !