From 0ea1d3f0956c490032a69697f128e7a086c337bd 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/branches/WX_2_4_BRANCH@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 091fd15e75..abe9d8d1da 100644 --- a/src/common/framecmn.cpp +++ b/src/common/framecmn.cpp @@ -416,7 +416,7 @@ void wxFrameBase::DoMenuUpdates(wxMenu* menu, wxWindow* focusWin) } if (item->GetSubMenu()) - DoMenuUpdates(item->GetSubMenu(), (wxWindow*) NULL); + DoMenuUpdates(item->GetSubMenu(), focusWin); } node = node->GetNext(); }