32 #include <wx/translation.h> 35 int aDefaultHotKey,
const std::string& aLegacyHotKeyName,
36 const wxString& aLabel,
const wxString& aTooltip,
40 m_defaultHotKey( aDefaultHotKey ),
41 m_legacyName( aLegacyHotKeyName ),
43 m_tooltip( aTooltip ),
85 return wxGetTranslation(
m_label );
91 wxString label = wxGetTranslation(
m_label );
92 label.Replace( wxT(
"&" ), wxT(
"&&" ) );
99 wxString tooltip = wxGetTranslation(
m_tooltip );
116 int dotCount = std::count(
m_name.begin(),
m_name.end(),
'.' );
wxString AddHotkeyName(const wxString &aText, int aHotKey, HOTKEY_ACTION_TYPE aStyle)
static std::list< TOOL_ACTION * > & GetActionList()
Return list of TOOL_ACTIONs.
void Format(OUTPUTFORMATTER *out, int aNestLevel, int aCtl, const CPTREE &aTree)
Output a PTREE into s-expression format via an OUTPUTFORMATTER derivative.
BITMAPS
A list of all bitmap identifiers.
wxString KeyNameFromKeyCode(int aKeycode, bool *aIsFound)
Return the key name from the key code.