--- a/ui/wpf/UIwrapper/UIwrapper/menu.cpp Tue Jan 27 09:59:32 2015 +0100 +++ b/ui/wpf/UIwrapper/UIwrapper/menu.cpp Sat Jan 31 11:51:54 2015 +0100 @@ -20,7 +20,7 @@ UI_EXPORT void __stdcall UImenuitem(char *label, UIcallback f, void *eventdata) { - EventWrapper ^e = gcnew EventWrapper(f, eventdata); + ObjEventWrapper ^e = gcnew ObjEventWrapper(f, eventdata); UI::Application::GetInstance()->AppMenu->AddMenuItem(gcnew String(label), e->GetAction()); }