]> git.saurik.com Git - wxWidgets.git/commitdiff
Override CocoaSetEnabled() to do nothing. Although static lines are
authorDavid Elliott <dfe@tgwbd.org>
Tue, 19 Aug 2003 14:47:24 +0000 (14:47 +0000)
committerDavid Elliott <dfe@tgwbd.org>
Tue, 19 Aug 2003 14:47:24 +0000 (14:47 +0000)
controls in the wxWindows sense, they are not in the Cocoa sense.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23015 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/cocoa/statline.h

index 74469940c3a84ef8d3186530c4ffe6f0b1a8fe3e..e04dbe527e8419d921c29d045739b40ba39e42c3 100644 (file)
@@ -45,6 +45,8 @@ public:
 // Cocoa callbacks
 // ------------------------------------------------------------------------
 protected:
+    // Static lines cannot be enabled/disabled
+    virtual void CocoaSetEnabled(bool enable) { }
 // ------------------------------------------------------------------------
 // Implementation
 // ------------------------------------------------------------------------