ui/wpf/UIwrapper/UIwrapper/menu.cpp

changeset 83
a38aec91bd66
parent 82
0cdb8089a29f
child 89
9a7e4a335b2b
--- 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());
 }
 

mercurial