ui/wpf/UIwrapper/UIwrapper/window.cpp

changeset 78
135920fe441b
child 82
0cdb8089a29f
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/ui/wpf/UIwrapper/UIwrapper/window.cpp	Sat Jan 24 19:14:29 2015 +0100
@@ -0,0 +1,13 @@
+
+
+#include "stdafx.h"
+#include <stdio.h>
+
+#include "window.h"
+
+#using "UIcore.dll"
+
+UI_EXPORT void* UIwindow(char *title, void *uiobj) {
+	UI::MainWindow ^window = UI::MainWindow::CreateMainWindow(gcnew String(title));
+	return ObjectToPtr(window);
+}

mercurial