From 7ac4c27aa6c1b7bbd8f241068728cc3c29489cf3 Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Sun, 1 Jun 2003 20:40:09 +0000 Subject: [PATCH] Pass focus window to submenu items too (no reason I can think of not to). git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20840 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/framecmn.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/framecmn.cpp b/src/common/framecmn.cpp index 87911b477f..cf0fbc201d 100644 --- a/src/common/framecmn.cpp +++ b/src/common/framecmn.cpp @@ -411,7 +411,7 @@ void wxFrameBase::DoMenuUpdates(wxMenu* menu, wxWindow* focusWin) } if (item->GetSubMenu()) - DoMenuUpdates(item->GetSubMenu(), (wxWindow*) NULL); + DoMenuUpdates(item->GetSubMenu(), focusWin); } node = node->GetNext(); } -- 2.45.2