Open menubar item by name with translations

This commit is contained in:
David Kocik 2021-09-01 16:49:23 +02:00
parent 2bb14849f4
commit 5f7a4982f6
4 changed files with 29 additions and 24 deletions

View file

@ -158,8 +158,8 @@ public:
void init_menubar_as_editor();
void init_menubar_as_gcodeviewer();
void update_menubar();
// Open item in menu by menu and item index (visible order of items including separators)
//void open_menubar_item(int menu_index, int item_index);
// Open item in menu by menu and item name (in actual language)
void open_menubar_item(const wxString& menu_name,const wxString& item_name);
#ifdef _WIN32
void show_tabs_menu(bool show);
#endif