// unused under MSW
wxMenuBar(long style);
// menubar takes ownership of the menus arrays but copies the titles
- wxMenuBar(int n, wxMenu *menus[], const wxString titles[]);
+ wxMenuBar(size_t n, wxMenu *menus[], const wxString titles[], long style = 0);
virtual ~wxMenuBar();
// menubar construction
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();