]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/menu.h
wxNotebook::HitTest() for wxMSW added (patch 748469)
[wxWidgets.git] / include / wx / msw / menu.h
index fc86424e37c928bd81e74c24d87708240483752d..e3060763487b0229b4bcf7ccb97d4bfb1cefbb57 100644 (file)
@@ -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();