#include <vector>
#include <map>
+#include <memory>
namespace lyx {
/// a button that expands a menu but remembers the last choice
STICKYPOPUPMENU,
///
- ICONPALETTE
+ ICONPALETTE,
+ ///
+ DYNAMICMENU
};
ToolbarItem(Type type,
/// item type
Type type_;
/// action
- FuncRequest func_;
+ std::shared_ptr<FuncRequest> func_; // non-null
/// label/tooltip
docstring label_;
/// name