Added missing accessors

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@371 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
1998-07-24 20:48:49 +00:00
parent 37f0deedfa
commit 527fc629c8

View File

@@ -86,6 +86,8 @@ public:
inline void SetEventHandler(wxEvtHandler *handler) { m_eventHandler = handler; }
inline wxEvtHandler *GetEventHandler(void) { return m_eventHandler; }
inline wxList& GetItems() const { return (wxList&) m_menuItems; }
// IMPLEMENTATION
bool MSWCommand(WXUINT param, WXWORD id);
@@ -162,6 +164,9 @@ class WXDLLEXPORT wxMenuBar: public wxEvtHandler
inline void SetEventHandler(wxEvtHandler *handler) { m_eventHandler = handler; }
inline wxEvtHandler *GetEventHandler(void) { return m_eventHandler; }
inline int GetMenuCount() const { return m_menuCount; }
inline wxMenu* GetMenu(int i) const { return m_menus[i]; }
public:
wxEvtHandler * m_eventHandler;
int m_menuCount;