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
This commit is contained in:
@@ -45,7 +45,7 @@ public:
|
|||||||
void Append(int id, const wxString& Label, const wxString& helpString = wxEmptyString,
|
void Append(int id, const wxString& Label, const wxString& helpString = wxEmptyString,
|
||||||
bool checkable = FALSE);
|
bool checkable = FALSE);
|
||||||
// a submenu
|
// a submenu
|
||||||
void Append(int id, const wxString& Label, wxMenu *SubMenu,
|
void Append(int id, const wxString& Label, wxMenu *SubMenu,
|
||||||
const wxString& helpString = wxEmptyString);
|
const wxString& helpString = wxEmptyString);
|
||||||
// the most generic form (create wxMenuItem first and use it's functions)
|
// the most generic form (create wxMenuItem first and use it's functions)
|
||||||
void Append(wxMenuItem *pItem);
|
void Append(wxMenuItem *pItem);
|
||||||
@@ -162,9 +162,6 @@ public:
|
|||||||
// menu too if itemMenu is non-NULL.
|
// menu too if itemMenu is non-NULL.
|
||||||
wxMenuItem *FindItemForId(int itemId, wxMenu **menuForItem = NULL) const ;
|
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 void SetEventHandler(wxEvtHandler *handler) { m_eventHandler = handler; }
|
||||||
inline wxEvtHandler *GetEventHandler() { return m_eventHandler; }
|
inline wxEvtHandler *GetEventHandler() { return m_eventHandler; }
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user