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

View File

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