-class wxMenu: public wxEvtHandler
-{
- DECLARE_DYNAMIC_CLASS(wxMenu)
-
- public:
-
- wxMenu( const wxString &title = "" );
- void AppendSeparator(void);
- void Append( int id, const wxString &item,
- const wxString &helpStr = "", bool checkable = FALSE );
- void Append( int id, const wxString &item,
- wxMenu *subMenu, const wxString &helpStr = "" );
- int FindItem( const wxString itemString ) const;
- wxMenuItem* FindItemForId( int id ) const;
- void Break(void) {};
- void Check(int id, bool Flag);
- void Enable( int id, bool enable );
- bool Enabled( int id ) const;
- void SetLabel( int id, const wxString &label );
-
- public:
-
+ wxMenu(long style = 0) : wxMenuBase(style) { Init(); }
+
+ virtual ~wxMenu();
+
+ void Attach(wxMenuBarBase *menubar);
+
+ void SetLayoutDirection(const wxLayoutDirection dir);
+ wxLayoutDirection GetLayoutDirection() const;
+
+ // TODO: virtual void SetTitle(const wxString& title);
+
+ // implementation