81:5eb765a7a793 | 82:0cdb8089a29f |
---|---|
6 #include "window.h" | 6 #include "window.h" |
7 | 7 |
8 #using "UIcore.dll" | 8 #using "UIcore.dll" |
9 | 9 |
10 UI_EXPORT void* UIwindow(char *title, void *uiobj) { | 10 UI_EXPORT void* UIwindow(char *title, void *uiobj) { |
11 UI::MainWindow ^window = UI::MainWindow::CreateMainWindow(gcnew String(title)); | 11 UI::MainWindow ^window = UI::MainWindow::CreateMainWindow(gcnew String(title), IntPtr(uiobj)); |
12 return ObjectToPtr(window); | 12 return ObjectToPtr(window); |
13 } | 13 } |