Fixed typo for last commit
This commit is contained in:
parent
810b48887d
commit
b7effbde17
@ -1031,7 +1031,7 @@ void menu_item_add_generic(wxMenuItem* &menu, int id) {
|
||||
|
||||
#ifndef __WXMSW__
|
||||
sub_menu->Bind(wxEVT_MENU, [sub_menu](wxEvent &event) {
|
||||
load_lambda(menu->GetLabel(event.GetId()).ToStdString());
|
||||
load_lambda(sub_menu->GetLabel(event.GetId()).ToStdString());
|
||||
});
|
||||
#endif //no __WXMSW__
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user