ui/cocoa/window.m

changeset 128
c284c15509a8
parent 125
3335268a8073
child 129
5babf09f5f19
equal deleted inserted replaced
127:ce342364fad5 128:c284c15509a8
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;
189 obj->container = ui_window_container(obj, window); 190 obj->container = ui_window_container(obj, window);
190 191
191 192
192 return obj; 193 return obj;
193 } 194 }

mercurial