diff -r 04c81be1c5a0 -r 9a7e4a335b2b ui/wpf/UIwrapper/UIwrapper/menu.cpp --- a/ui/wpf/UIwrapper/UIwrapper/menu.cpp Sat Feb 14 13:26:00 2015 +0100 +++ b/ui/wpf/UIwrapper/UIwrapper/menu.cpp Sun Feb 15 15:44:24 2015 +0100 @@ -7,20 +7,20 @@ #using "UIcore.dll" UI_EXPORT void __stdcall UImenu(char *label) { - UI::Application::GetInstance()->AppMenu->AddMenu(gcnew String(label)); + UI::Application::GetInstance()->Menu->AddMenu(gcnew String(label)); } UI_EXPORT void __stdcall UIsubmenu(char *label) { - UI::Application::GetInstance()->AppMenu->AddSubMenu(gcnew String(label)); + UI::Application::GetInstance()->Menu->AddSubMenu(gcnew String(label)); } UI_EXPORT void __stdcall UIsubmenu_end() { - UI::Application::GetInstance()->AppMenu->EndSubMenu(); + UI::Application::GetInstance()->Menu->EndSubMenu(); } UI_EXPORT void __stdcall UImenuitem(char *label, UIcallback f, void *eventdata) { ObjEventWrapper ^e = gcnew ObjEventWrapper(f, eventdata); - UI::Application::GetInstance()->AppMenu->AddMenuItem(gcnew String(label), e->GetAction()); + UI::Application::GetInstance()->Menu->AddMenuItem(gcnew String(label), e->GetAction()); }