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:
@@ -207,10 +207,6 @@ public:
|
|||||||
virtual void SetTitle(const wxString& title) { m_title = title; }
|
virtual void SetTitle(const wxString& title) { m_title = title; }
|
||||||
const wxString GetTitle() const { return m_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
|
// event handler
|
||||||
void SetEventHandler(wxEvtHandler *handler) { m_eventHandler = handler; }
|
void SetEventHandler(wxEvtHandler *handler) { m_eventHandler = handler; }
|
||||||
wxEvtHandler *GetEventHandler() const { return m_eventHandler; }
|
wxEvtHandler *GetEventHandler() const { return m_eventHandler; }
|
||||||
@@ -302,7 +298,6 @@ protected:
|
|||||||
wxMenuItemList m_items; // the list of menu items
|
wxMenuItemList m_items; // the list of menu items
|
||||||
|
|
||||||
wxWindow *m_invokingWindow; // for popup menus
|
wxWindow *m_invokingWindow; // for popup menus
|
||||||
void *m_clientData; // associated with the menu
|
|
||||||
|
|
||||||
long m_style; // combination of wxMENU_XXX flags
|
long m_style; // combination of wxMENU_XXX flags
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user