I use an imagelist to show icons with popup menu items. When the content of the imagelist is modified at runtime (delete/insert) these changes are not applied to the menu. The imagelist contains the new picture - a simple GetBitmap() and Draw() works well. But how can I update the popup menu?
Tested with Qt for Linux and Darwin (and successfully with Gtk2 and win32/64).
PS: A simple PopupMenu.Images:=nil; ImageList.Delete/Insert; PopupMenu.Images:ImageList; does the trick.