27#ifndef CONDITIONAL_MENU_H
28#define CONDITIONAL_MENU_H
38enum class BITMAPS :
unsigned int;
62 void AddItem(
int aId,
const wxString& aText,
const wxString& aTooltip,
BITMAPS aIcon,
154 m_data.wxItem =
new wxMenuItem(
nullptr, aItem.GetId(), aItem.GetItemLabel(),
155 aItem.GetHelp(), aItem.GetKind() );
BITMAPS
A list of all bitmap identifiers.
static bool ShowAlways(const SELECTION &aSelection)
The default condition function (always returns true).
std::function< bool(const SELECTION &)> SELECTION_CONDITION
Functor type that checks a specific condition for selected items.