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
This commit is contained in:
Julian Smart
2003-06-01 20:40:09 +00:00
parent db1c50bccd
commit 0ea1d3f095

View File

@@ -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();
}