bool IsSubMenu() const { return m_subMenu != NULL; }
// state
- void Enable(bool enable = TRUE) { m_isEnabled = enable; }
+ void Enable( bool enable = TRUE );
bool IsEnabled() const { return m_isEnabled; }
void Check( bool check = TRUE );
bool IsChecked() const;
public:
// construction
- wxMenu( const wxString& title = wxEmptyString, const wxFunction func = NULL );
+ wxMenu( const wxString& title = wxEmptyString, const wxFunction func = (wxFunction) NULL );
// operations
+ // title
+ void SetTitle(const wxString& label);
+ const wxString GetTitle() const;
// menu creation
void AppendSeparator();
void Append(int id, const wxString &item,