From: David Elliott Date: Tue, 19 Aug 2003 14:47:24 +0000 (+0000) Subject: Override CocoaSetEnabled() to do nothing. Although static lines are X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/761bdfaaa9b47064d4d8b08c1352fcd75ea3b640 Override CocoaSetEnabled() to do nothing. Although static lines are 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 --- diff --git a/include/wx/cocoa/statline.h b/include/wx/cocoa/statline.h index 74469940c3..e04dbe527e 100644 --- a/include/wx/cocoa/statline.h +++ b/include/wx/cocoa/statline.h @@ -45,6 +45,8 @@ public: // Cocoa callbacks // ------------------------------------------------------------------------ protected: + // Static lines cannot be enabled/disabled + virtual void CocoaSetEnabled(bool enable) { } // ------------------------------------------------------------------------ // Implementation // ------------------------------------------------------------------------