ui/cocoa/toolkit.m

changeset 21
012418e7dc90
parent 15
7a36f91c22f7
child 23
decc6bf584aa
--- 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];

mercurial