Extract the call to wxWindow::SetCanFocus() into a separate UpdateParentCanFocus() function as it can be necessary to do it from places other than UpdateCanFocusChildren() too. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74582 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775