]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/menu.h
wxMac doesn't need UseNativeStatusBar hack
[wxWidgets.git] / include / wx / msw / menu.h
index 310586e498acc293c270c467a61a303f766a2ca0..e3060763487b0229b4bcf7ccb97d4bfb1cefbb57 100644 (file)
@@ -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();