Change wxNotebook selection before sending page changed event in wxMSW.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 23 Apr 2011 16:19:15 +0000 (16:19 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 23 Apr 2011 16:19:15 +0000 (16:19 +0000)
commitc7e94140cd436c6c234a382ad4e16ec5da65830c
tree8453910abc3e5a973636f3310e26d99590e77440
parente71508e160653f122f8e5d7f73c2ebf7f928964b
Change wxNotebook selection before sending page changed event in wxMSW.

wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED handler should see the new page selected
in the control, not the old one as was the case if the page was changed using
the mouse in wxMSW.

This should have been done together with the other changes of r66224, see its
commit message for more details.

Closes 13145.

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