Fix bug with not selecting wxAuiNotebook page when its child was focused.
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 6 Sep 2013 12:27:04 +0000 (12:27 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 6 Sep 2013 12:27:04 +0000 (12:27 +0000)
commitee3dd6dd5f7f4e081ae9a5ead179d0ca5b752759
tree3476e926d7c53d299438fae0ecace5f3ea12eadc
parent111d847de560f452ecebd42fa99324222a0d9f62
Fix bug with not selecting wxAuiNotebook page when its child was focused.

The code in OnChildFocusNotebook() handler only worked correctly if the page
itself was focused but not if the focus was given to one of its children --
which should still make the page itself current.

Closes #15471.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74769 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/aui/auibook.cpp