applied SourceForge patch # 544164 (hidden virtual method in wxMenuBar)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15752 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Gilles Depeyrot
2002-06-05 20:00:47 +00:00
parent fe953afb43
commit 6d6da89ccb
3 changed files with 3 additions and 3 deletions

View File

@@ -173,7 +173,7 @@ public:
// if the menubar is modified, the display is not updated automatically,
// call this function to update it (m_menuBarFrame should be !NULL)
void Refresh();
void Refresh(bool eraseBackground = TRUE, const wxRect *rect = (const wxRect *) NULL);
void MacInstallMenuBar() ;
void MacMenuSelect(wxEvtHandler* handler, long when , int macMenuId, int macMenuItemNum) ;

View File

@@ -577,7 +577,7 @@ wxMenuBar::~wxMenuBar()
}
void wxMenuBar::Refresh()
void wxMenuBar::Refresh(bool WXUNUSED(eraseBackground), const wxRect *WXUNUSED(rect))
{
wxCHECK_RET( IsAttached(), wxT("can't refresh unatteched menubar") );

View File

@@ -577,7 +577,7 @@ wxMenuBar::~wxMenuBar()
}
void wxMenuBar::Refresh()
void wxMenuBar::Refresh(bool WXUNUSED(eraseBackground), const wxRect *WXUNUSED(rect))
{
wxCHECK_RET( IsAttached(), wxT("can't refresh unatteched menubar") );