X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f7387de542b93fbad052e0b03d3f80c574cc3a88..7be1f0d91a912a73b110157170124830446e15e1:/include/wx/stubs/menu.h?ds=inline diff --git a/include/wx/stubs/menu.h b/include/wx/stubs/menu.h index 8f1323723c..fa3936557c 100644 --- a/include/wx/stubs/menu.h +++ b/include/wx/stubs/menu.h @@ -62,6 +62,10 @@ public: 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); @@ -97,6 +101,7 @@ public: wxList m_menuItems; wxEvtHandler * m_parent; wxEvtHandler * m_eventHandler; + void* m_clientData; }; // ----------------------------------------------------------------------------