X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0472ece753aa3c018dd2cc9816d3cd755f28efe8..87d77923a6b62816336e53abd4217a119f14675d:/include/wx/msw/menu.h diff --git a/include/wx/msw/menu.h b/include/wx/msw/menu.h index 310586e498..e306076348 100644 --- a/include/wx/msw/menu.h +++ b/include/wx/msw/menu.h @@ -5,8 +5,8 @@ // Modified by: Vadim Zeitlin (wxMenuItem is now in separate file) // Created: 01/02/97 // RCS-ID: $Id$ -// Copyright: (c) Julian Smart and Markus Holzem -// Licence: wxWindows license +// Copyright: (c) Julian Smart +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// #ifndef _WX_MENU_H_ @@ -168,6 +168,10 @@ public: // call this function to update it (m_menuBarFrame should be !NULL) void Refresh(); + // To avoid compile warning + void Refresh( bool eraseBackground, + const wxRect *rect = (const wxRect *) NULL ) { wxWindow::Refresh(eraseBackground, rect); } + protected: // common part of all ctors void Init();