X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f9dae7798b164a5f4abc85d16f49cabd4e0980c0..3fe70739d2098debccaa2755f054f67fff829a59:/include/wx/frame.h diff --git a/include/wx/frame.h b/include/wx/frame.h index be765cc7e7..9c8aa12b15 100644 --- a/include/wx/frame.h +++ b/include/wx/frame.h @@ -146,8 +146,9 @@ public: void OnMenuHighlight(wxMenuEvent& event); #if wxUSE_MENUS - // send wxUpdateUIEvents for all menu items (called from OnIdle()) - void DoMenuUpdates(); + // send wxUpdateUIEvents for all menu items in the menubar, + // or just for menu if non-NULL + void DoMenuUpdates(wxMenu* menu = NULL); #endif // wxUSE_MENUS // do the UI update processing for this window