MCPcopy Create free account
hub / github.com/TypesettingTools/Aegisub / AddCommand

Method AddCommand

src/menu.cpp:180–182  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

178 }
179
180 int AddCommand(cmd::Command *co, wxMenu *parent, std::string const& text = "") {
181 return AddCommand(co, parent, text.empty() ? co->StrMenu(context) : _(to_wx(text)));
182 }
183
184 // because wxString doesn't have a move constructor
185 int AddCommand(cmd::Command *co, wxMenu *parent, wxString const& menu_text) {

Callers 3

process_menu_itemFunction · 0.80
GenerateMenuMethod · 0.80
AutomationMenuMethod · 0.80

Calls 10

get_hotkey_str_firstFunction · 0.85
StrMenuMethod · 0.80
StrHelpMethod · 0.80
IconMethod · 0.80
push_backMethod · 0.80
to_wxFunction · 0.70
wxStringClass · 0.70
TypeMethod · 0.45
nameMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected