]> git.saurik.com Git - wxWidgets.git/commitdiff
Removed client data stuff from wxMenuBase since it now gets it from wxEvtHandler.
authorRobin Dunn <robin@alldunn.com>
Wed, 10 Oct 2001 16:04:41 +0000 (16:04 +0000)
committerRobin Dunn <robin@alldunn.com>
Wed, 10 Oct 2001 16:04:41 +0000 (16:04 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11926 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/menu.h

index 54d5dca36fd27294d744acd9f627fd1ef46e512f..932d2ab152d2b1503b1c8182f3c80d487de741c2 100644 (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