]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/menu.h
Removed BC++ hidden virtual function warning
[wxWidgets.git] / include / wx / msw / menu.h
index 04273f78bc0a18ef0a4e9cd3b76d05e88f5abe21..30d31527f3642afba6705f27d67402c4b28a2de1 100644 (file)
@@ -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();