diff -r 2dda1ad6dc7a -r 012418e7dc90 ui/cocoa/toolkit.m --- a/ui/cocoa/toolkit.m Wed Apr 02 20:31:47 2014 +0200 +++ b/ui/cocoa/toolkit.m Thu Apr 03 11:12:22 2014 +0200 @@ -68,6 +68,10 @@ } } +void ui_set_enabled(UIWIDGET widget, int enabled) { + [widget setEnabled:enabled]; +} + void ui_main() { [NSApp run]; [pool release];