| 85 NULL, |
86 NULL, |
| 86 NULL, |
87 NULL, |
| 87 hInstance, |
88 hInstance, |
| 88 NULL); |
89 NULL); |
| 89 |
90 |
| |
91 if (!simple) { |
| |
92 HMENU menubar = ui_create_main_menu(obj); |
| |
93 if (menubar) { |
| |
94 SetMenu(hwnd, menubar); |
| |
95 } |
| |
96 } |
| |
97 |
| 90 UpdateWindow(hwnd); |
98 UpdateWindow(hwnd); |
| 91 |
99 |
| 92 UiContainerX *container = ui_box_container_create(obj, hwnd, UI_BOX_VERTICAL, 0, INSETS_ZERO); |
100 UiContainerX *container = ui_box_container_create(obj, hwnd, UI_BOX_VERTICAL, 0, INSETS_ZERO); |
| 93 uic_object_push_container(obj, container); |
101 uic_object_push_container(obj, container); |
| 94 UiBoxContainer *box = (UiBoxContainer*)container; |
102 UiBoxContainer *box = (UiBoxContainer*)container; |