Fixed typo for last commit

This commit is contained in:
YuSanka 2018-09-07 16:29:16 +02:00
parent 810b48887d
commit b7effbde17

View File

@ -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__