]> git.saurik.com Git - wxWidgets.git/commitdiff
Override CocoaSetEnabled because it's not an NSControl
authorDavid Elliott <dfe@tgwbd.org>
Sat, 6 Sep 2003 19:10:22 +0000 (19:10 +0000)
committerDavid Elliott <dfe@tgwbd.org>
Sat, 6 Sep 2003 19:10:22 +0000 (19:10 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23415 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/cocoa/radiobox.h
include/wx/cocoa/statbox.h

index 53c09d57f95e10c4800d49c598083595e72c8baf..7db85c0655d3653d5149042e62099ec8ca6d726a 100644 (file)
@@ -54,6 +54,8 @@ public:
 // Cocoa callbacks
 // ------------------------------------------------------------------------
 protected:
+    // Static boxes cannot be enabled/disabled
+    virtual void CocoaSetEnabled(bool enable) { }
 // ------------------------------------------------------------------------
 // Implementation
 // ------------------------------------------------------------------------
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
 // ------------------------------------------------------------------------