PopMenu suggestion

Hi Jules,

could you add this to PopupMenu?
Its sometimes useful when adding submenus:

/** Returns true if the menu contains at least one active item  */
    bool containsActiveItems () const throw();

[code]bool PopupMenu::containsActiveItems () const throw()
for (int i = items.size(); --i >= 0;)
const MenuItemInfo* mi = (const MenuItemInfo*) items.getUnchecked (i);

	if (mi->active)
        return true;
return false;


Good idea!