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( wxS(
"&" ), wxS(
"&&" ) );
99 wxString tooltip = wxGetTranslation(
m_tooltip );
116 int dotCount = std::count(
m_name.begin(),
m_name.end(),
'.' );
BITMAPS
A list of all bitmap identifiers.
static std::list< TOOL_ACTION * > & GetActionList()
Return list of TOOL_ACTIONs.
wxString AddHotkeyName(const wxString &aText, int aHotKey, HOTKEY_ACTION_TYPE aStyle)
wxString KeyNameFromKeyCode(int aKeycode, bool *aIsFound)
Return the key name from the key code.