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:
@@ -86,6 +86,8 @@ public:
|
|||||||
inline void SetEventHandler(wxEvtHandler *handler) { m_eventHandler = handler; }
|
inline void SetEventHandler(wxEvtHandler *handler) { m_eventHandler = handler; }
|
||||||
inline wxEvtHandler *GetEventHandler(void) { return m_eventHandler; }
|
inline wxEvtHandler *GetEventHandler(void) { return m_eventHandler; }
|
||||||
|
|
||||||
|
inline wxList& GetItems() const { return (wxList&) m_menuItems; }
|
||||||
|
|
||||||
// IMPLEMENTATION
|
// IMPLEMENTATION
|
||||||
bool MSWCommand(WXUINT param, WXWORD id);
|
bool MSWCommand(WXUINT param, WXWORD id);
|
||||||
|
|
||||||
@@ -162,6 +164,9 @@ class WXDLLEXPORT wxMenuBar: public wxEvtHandler
|
|||||||
inline void SetEventHandler(wxEvtHandler *handler) { m_eventHandler = handler; }
|
inline void SetEventHandler(wxEvtHandler *handler) { m_eventHandler = handler; }
|
||||||
inline wxEvtHandler *GetEventHandler(void) { return m_eventHandler; }
|
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:
|
public:
|
||||||
wxEvtHandler * m_eventHandler;
|
wxEvtHandler * m_eventHandler;
|
||||||
int m_menuCount;
|
int m_menuCount;
|
||||||
|
Reference in New Issue
Block a user