Removed client data stuff from wxMenuBase since it now gets it from wxEvtHandler.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11926 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2001-10-10 16:04:41 +00:00
parent 750b113f76
commit 00b2a97f34

View File

@@ -207,10 +207,6 @@ public:
virtual void SetTitle(const wxString& title) { m_title = title; }
const wxString GetTitle() const { return m_title; }
// client data
void SetClientData(void* clientData) { m_clientData = clientData; }
void* GetClientData() const { return m_clientData; }
// event handler
void SetEventHandler(wxEvtHandler *handler) { m_eventHandler = handler; }
wxEvtHandler *GetEventHandler() const { return m_eventHandler; }
@@ -302,7 +298,6 @@ protected:
wxMenuItemList m_items; // the list of menu items
wxWindow *m_invokingWindow; // for popup menus
void *m_clientData; // associated with the menu
long m_style; // combination of wxMENU_XXX flags