bool Checked(int id) const;
inline bool IsChecked(int id) const { return IsChecked(id); };
+ // Client data
+ inline void SetClientData(void* clientData) { m_clientData = clientData; }
+ inline void* GetClientData() const { return m_clientData; }
+
// item properties
// title
void SetTitle(const wxString& label);
- const wxString& GetTitle() const;
+ const wxString GetTitle() const;
// label
void SetLabel(int id, const wxString& label);
wxString GetLabel(int id) const;
wxList m_menuItems;
wxEvtHandler * m_parent;
wxEvtHandler * m_eventHandler;
+ void* m_clientData;
};
// ----------------------------------------------------------------------------