]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/cocoa/statbox.h
Override CocoaSetEnabled because it's not an NSControl
[wxWidgets.git] / include / wx / cocoa / statbox.h
index 2ebb3c79d63d83ff0fd0c308ffad7ca21e236c70..0682b1dff2e05cf42908ae4d9f34ac855f2231ce 100644 (file)
@@ -50,6 +50,8 @@ public:
 // Cocoa callbacks
 // ------------------------------------------------------------------------
 protected:
+    // Static boxes cannot be enabled/disabled
+    virtual void CocoaSetEnabled(bool enable) { }
 // ------------------------------------------------------------------------
 // Implementation
 // ------------------------------------------------------------------------