]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/cocoa/control.h
fix the bug which prevented the same wxFile/DirDialog object from being used twice...
[wxWidgets.git] / include / wx / cocoa / control.h
index 38ee55e2ed202c94f24cbcfae51f25be3ef25e5c..d34e85c5d7d6a92097cc8679cf0987bc64dfed26 100644 (file)
@@ -6,7 +6,7 @@
 // Created:     2003/02/15
 // RCS-ID:      $Id: 
 // Copyright:   (c) 2003 David Elliott
-// Licence:    wxWindows license
+// Licence:    wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
 #ifndef __WX_COCOA_CONTROL_H__
@@ -59,6 +59,8 @@ public:
     // Calls the callback and appropriate event handlers
     bool ProcessCommand(wxCommandEvent& event);
 
+    // Enables the control
+    virtual void CocoaSetEnabled(bool enable);
 protected:
     virtual wxSize DoGetBestSize() const;
 };