33#include <wx/translation.h>
36 int aDefaultHotKey,
const std::string& aLegacyHotKeyName,
37 const wxString& aLabel,
const wxString& aTooltip,
88 if( aArgs.
m_uiid.has_value() )
100 if( aArgs.
m_icon.has_value() )
146 return wxEmptyString;
164 label.Replace( wxS(
"&" ), wxS(
"&&" ) );
181 wxString tooltip = wxGetTranslation(
m_tooltip );
221 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.
bool has_value() const noexcept
Report whether there is a contained object or not.
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.
wxString TowxString(const std::string_view &view)