From b5279053f65f2f4f7352d2a74c787096073e3ad6 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Fri, 7 Aug 1998 17:07:43 +0000 Subject: [PATCH] Removed duplicate definitions of GetMenuCount and GetMenu so I could compile. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@451 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/msw/menu.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/include/wx/msw/menu.h b/include/wx/msw/menu.h index f2ced3f6d4..98049103ba 100644 --- a/include/wx/msw/menu.h +++ b/include/wx/msw/menu.h @@ -45,7 +45,7 @@ public: void Append(int id, const wxString& Label, const wxString& helpString = wxEmptyString, bool checkable = FALSE); // a submenu - void Append(int id, const wxString& Label, wxMenu *SubMenu, + void Append(int id, const wxString& Label, wxMenu *SubMenu, const wxString& helpString = wxEmptyString); // the most generic form (create wxMenuItem first and use it's functions) void Append(wxMenuItem *pItem); @@ -162,9 +162,6 @@ public: // menu too if itemMenu is non-NULL. wxMenuItem *FindItemForId(int itemId, wxMenu **menuForItem = NULL) const ; - int GetMenuCount() const { return m_menuCount; } - wxMenu *GetMenu(int n) const { return m_menus[n]; } - inline void SetEventHandler(wxEvtHandler *handler) { m_eventHandler = handler; } inline wxEvtHandler *GetEventHandler() { return m_eventHandler; }