]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/stubs/menu.h
Partial Watcom C++ 10.6 support added (doesn't link for some reason)
[wxWidgets.git] / include / wx / stubs / menu.h
index 8f1323723c296de132484640e3546fad04b76626..fa3936557c40c6be7ff93edbe361af94f7482de5 100644 (file)
@@ -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;
 };
 
 // ----------------------------------------------------------------------------