X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8cf73271dd6f442a98e86b559d4a55c37e25b99f..db4c39a9e87953142471077d6d26e509b2b05b6c:/include/wx/mac/carbon/menu.h diff --git a/include/wx/mac/carbon/menu.h b/include/wx/mac/carbon/menu.h index 854a70d107..5718b3950b 100644 --- a/include/wx/mac/carbon/menu.h +++ b/include/wx/mac/carbon/menu.h @@ -124,6 +124,12 @@ public: virtual void EnableTop( size_t pos, bool flag ); 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();