From b85b77ae2fd8df69a2bad218afbfcee0e4b7607c Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Wed, 2 Jul 2003 11:44:24 +0000 Subject: [PATCH] Removed BC++ hidden virtual function warning git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21572 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/msw/menu.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/wx/msw/menu.h b/include/wx/msw/menu.h index 04273f78bc..30d31527f3 100644 --- a/include/wx/msw/menu.h +++ b/include/wx/msw/menu.h @@ -157,6 +157,10 @@ public: // call this function to update it (m_menuBarFrame should be !NULL) void Refresh(); + // To avoid compile warning + void Refresh( bool eraseBackground = TRUE, + const wxRect *rect = (const wxRect *) NULL ) { wxWindow::Refresh(eraseBackground, rect); } + protected: // common part of all ctors void Init();