27 #ifndef CONDITIONAL_MENU_H 28 #define CONDITIONAL_MENU_H 61 void AddItem(
int aId,
const wxString& aText,
const wxString& aTooltip,
BITMAP_DEF aIcon,
148 m_data.wxItem =
new wxMenuItem(
nullptr, aItem.GetId(), aItem.GetItemLabel(),
149 aItem.GetHelp(), aItem.GetKind() );
static bool ShowAlways(const SELECTION &aSelection)
The default condition function (always returns true).
PNG memory record (file in memory).
std::function< bool(const SELECTION &)> SELECTION_CONDITION
< Functor type that checks a specific condition for selected items.