Do give focus to the wxNotebook page when switching to it under MSW.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 13 Oct 2012 22:49:33 +0000 (22:49 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 13 Oct 2012 22:49:33 +0000 (22:49 +0000)
commit256edfbf118e706daa1b30a017eb5acae0618b29
tree1d7273d42cb61ac0c491d29c8a7e7d395e7e842e
parentc254e996ca921a4f70bd2c886f496c7561f635ce
Do give focus to the wxNotebook page when switching to it under MSW.

Switching to the page but keeping the focus on the notebook itself makes it
difficult to use the UI from keyboard and is inconsistent with the behaviour
of native property sheets. Do restore the code to set the focus to the page as
the bug that resulted in a wrong radio button being selected when we did this
was apparently fixed elsewhere in the meanwhile because it doesn't happen any
more even with this change.

See #2268.

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