Implemented Enable for wxMenuBar to avoid assert

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26563 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2004-04-01 19:28:13 +00:00
parent 70e45c91bb
commit c393c74021
2 changed files with 12 additions and 0 deletions

View File

@@ -124,6 +124,7 @@ 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 );
// implementation from now on
WXHMENU Create();