ui/cocoa/window.m

changeset 129
5babf09f5f19
parent 128
c284c15509a8
child 157
0b33b9396851
equal deleted inserted replaced
128:c284c15509a8 129:5babf09f5f19
184 NSToolbar *toolbar = ui_create_toolbar(obj); 184 NSToolbar *toolbar = ui_create_toolbar(obj);
185 [window setToolbar: toolbar]; 185 [window setToolbar: toolbar];
186 186
187 obj->widget = (NSView*)window; 187 obj->widget = (NSView*)window;
188 obj->window = window_data; 188 obj->window = window_data;
189 obj->document = NULL;
190 obj->container = ui_window_container(obj, window); 189 obj->container = ui_window_container(obj, window);
191 190
192 191
193 return obj; 192 return obj;
194 } 193 }

mercurial