ui/wpf/UIwrapper/UIwrapper/window.cpp@0cdb8089a29f
ui/wpf/UIwrapper/UIwrapper/window.cpp
Tue, 27 Jan 2015 09:59:32 +0100
- author
- Olaf Wintermann <olaf.wintermann@gmail.com>
- date
- Tue, 27 Jan 2015 09:59:32 +0100
- changeset 82
- 0cdb8089a29f
- parent 78
-
135920fe441b
- child 83
-
a38aec91bd66
- permissions
- -rw-r--r--
added event handler for menus (WPF)
#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), IntPtr(uiobj));
return ObjectToPtr(window);
}