ui/cocoa/toolkit.m

changeset 23
decc6bf584aa
parent 21
012418e7dc90
child 24
06bceda81a03
equal deleted inserted replaced
22:bcf880b29bc3 23:decc6bf584aa
67 printf("Error: ui_show: Object is not a Window!\n"); 67 printf("Error: ui_show: Object is not a Window!\n");
68 } 68 }
69 } 69 }
70 70
71 void ui_set_enabled(UIWIDGET widget, int enabled) { 71 void ui_set_enabled(UIWIDGET widget, int enabled) {
72 [widget setEnabled:enabled]; 72 //[widget setEnabled:enabled];
73 } 73 }
74 74
75 void ui_main() { 75 void ui_main() {
76 [NSApp run]; 76 [NSApp run];
77 [pool release]; 77 [pool release];

mercurial