ui/winui/window.cpp

branch
newapi
changeset 195
0f2e69873875
parent 190
70fd1b24e395
child 200
f40dadf3498f
equal deleted inserted replaced
194:e2281ace0769 195:0f2e69873875
81 window.Closed([obj](IInspectable const& sender, WindowEventArgs) { 81 window.Closed([obj](IInspectable const& sender, WindowEventArgs) {
82 // TODO: destroy UiObject*, context, ... 82 // TODO: destroy UiObject*, context, ...
83 delete obj->wobj; 83 delete obj->wobj;
84 }); 84 });
85 85
86 obj->container = new UiBoxContainer(grid, UI_CONTAINER_VBOX, 0, 0); 86 obj->container = new UiBoxContainer(grid, UI_BOX_CONTAINER_VBOX, 0, 0);
87 87
88 if (uic_get_menu_list()) { 88 if (uic_get_menu_list()) {
89 // create/add menubar 89 // create/add menubar
90 MenuBar mb = ui_create_menubar(obj); 90 MenuBar mb = ui_create_menubar(obj);
91 mb.VerticalAlignment(VerticalAlignment::Top); 91 mb.VerticalAlignment(VerticalAlignment::Top);

mercurial