| 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) { |