From c4287548985b4a8246eb1d9b4ced2f346fc95253 Mon Sep 17 00:00:00 2001 From: Robin Dunn <robin@alldunn.com> Date: Tue, 1 Aug 2006 18:30:37 +0000 Subject: [PATCH] Add wx.menuBar.UpdateMenus git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40421 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- wxPython/src/_menu.i | 3 +++ 1 file changed, 3 insertions(+) diff --git a/wxPython/src/_menu.i b/wxPython/src/_menu.i index 0e3b113553..3db6b18786 100644 --- a/wxPython/src/_menu.i +++ b/wxPython/src/_menu.i @@ -309,6 +309,9 @@ public: // called before deleting the menubar normally virtual void Detach(); + // update all menu item states in all menus + virtual void UpdateMenus(); + #ifdef __WXMAC__ static void SetAutoWindowMenu( bool enable ); static bool GetAutoWindowMenu(); -- 2.47.2