X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c393c7402138d8d146f58932e3bcce169fc4fd0d..5b2693a76fbc3c1a634fc2ed7946385c550b06ad:/include/wx/mac/carbon/menu.h?ds=sidebyside diff --git a/include/wx/mac/carbon/menu.h b/include/wx/mac/carbon/menu.h index db83838a94..5718b3950b 100644 --- a/include/wx/mac/carbon/menu.h +++ b/include/wx/mac/carbon/menu.h @@ -125,6 +125,11 @@ public: virtual void SetLabelTop( size_t pos, const wxString& label ); virtual wxString GetLabelTop( size_t pos ) const; virtual bool Enable( bool enable = TRUE ); + // for virtual function hiding + virtual void Enable( int itemid, bool enable ) + { + wxMenuBarBase::Enable( itemid, enable ); + } // implementation from now on WXHMENU Create();