mirror of
https://github.com/wxWidgets/wxWidgets.git
synced 2026-08-19 19:15:56 +08:00
This is unnecessary, we only need to update the pending focus in the immediate parent window to prevent a wrong radio button from being focused (and hence selected) when it regains focus, there is no good reason at all to interfere with the focus in the grandparent (and higher) windows. Doing this was not only useless, but actually harmful, as it overrode explicit calls to SetFocus() in the user code, so just stop doing it. This also allows to avoid having 2 functions related to this and keep just a single virtual WXSetPendingFocus() one. Closes #18653.