Changed scope of wxMenuBar::Refresh() from protected to public.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3574 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Patrick Albert
1999-09-06 12:53:09 +00:00
parent 2f435842c5
commit fbb90f7f2b

View File

@@ -281,14 +281,14 @@ public:
// get the menu handle // get the menu handle
WXHMENU GetHMenu() const { return m_hMenu; } WXHMENU GetHMenu() const { return m_hMenu; }
protected:
// common part of all ctors
void Init();
// if the menubar is modified, the display is not updated automatically, // if the menubar is modified, the display is not updated automatically,
// call this function to update it (m_menuBarFrame should be !NULL) // call this function to update it (m_menuBarFrame should be !NULL)
void Refresh(); void Refresh();
protected:
// common part of all ctors
void Init();
wxEvtHandler *m_eventHandler; wxEvtHandler *m_eventHandler;
int m_menuCount; int m_menuCount;
wxMenu **m_menus; wxMenu **m_menus;