X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/45f22d48cdd5f8cc57b9ddc6f48c7c953adbb940..af01f1ba0d697c07173f436ab661b4c833258a91:/include/wx/menu.h?ds=inline diff --git a/include/wx/menu.h b/include/wx/menu.h index 293ce4a763..932d2ab152 100644 --- a/include/wx/menu.h +++ b/include/wx/menu.h @@ -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 @@ -353,7 +348,7 @@ public: virtual void EnableTop(size_t pos, bool enable) = 0; // is the menu enabled? - virtual bool IsEnabledTop(size_t pos) const { return TRUE; } + virtual bool IsEnabledTop(size_t WXUNUSED(pos)) const { return TRUE; } // get or change the label of the menu at given position virtual void SetLabelTop(size_t pos, const wxString& label) = 0; @@ -451,8 +446,6 @@ protected: #include "wx/motif/menu.h" #elif defined(__WXGTK__) #include "wx/gtk/menu.h" -#elif defined(__WXQT__) - #include "wx/qt/menu.h" #elif defined(__WXMAC__) #include "wx/mac/menu.h" #elif defined(__WXPM__)