diff -r 5eb765a7a793 -r 0cdb8089a29f ui/wpf/UIwrapper/UIwrapper/window.cpp --- a/ui/wpf/UIwrapper/UIwrapper/window.cpp Sun Jan 25 15:01:04 2015 +0100 +++ b/ui/wpf/UIwrapper/UIwrapper/window.cpp Tue Jan 27 09:59:32 2015 +0100 @@ -8,6 +8,6 @@ #using "UIcore.dll" UI_EXPORT void* UIwindow(char *title, void *uiobj) { - UI::MainWindow ^window = UI::MainWindow::CreateMainWindow(gcnew String(title)); + UI::MainWindow ^window = UI::MainWindow::CreateMainWindow(gcnew String(title), IntPtr(uiobj)); return ObjectToPtr(window); }