]> git.saurik.com Git - wxWidgets.git/blobdiff - src/cocoa/control.mm
adaption custom types to new macros
[wxWidgets.git] / src / cocoa / control.mm
index c316891f963393737c4ca2ecb475d67350ecce94..fac6d2831dd111b861155505822a880ac9f37217 100644 (file)
@@ -71,3 +71,8 @@ bool wxControl::ProcessCommand(wxCommandEvent& event)
     return GetEventHandler()->ProcessEvent(event);
 }
 
+void wxControl::CocoaSetEnabled(bool enable)
+{
+    [GetNSControl() setEnabled: enable];
+}
+