Pass Drawable to PopupMenu::addCommandItem


#1

​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 !


#2

Done, please update to the newest tip!

I hope that this gives you the functionality you require.


#3

Hey Timur that was perfect thanx a lot !