]> git.saurik.com Git - wxWidgets.git/commit
Don't require skipping "page changed" event in wxMSW wxNotebook.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 7 Nov 2010 19:33:10 +0000 (19:33 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 7 Nov 2010 19:33:10 +0000 (19:33 +0000)
commit409f747ed9f08095e81aea317e1ed19410a1664d
tree9dc2278f7b475829d65e103b6bd245eb100ef8dc
parent0526c8cc07ac02aeb1d95afecfa0d9201a8ddea0
Don't require skipping "page changed" event in wxMSW wxNotebook.

wxMSW wxNotebook implementation used to handle EVT_NOTEBOOK_PAGE_CHANGED event
to update the currently shown page which meant that page changing was broken
if the user code handled and didn't skip this event.

As the other ports don't require the user code to skip this event, don't do
this in wxMSW neither and always update the selected page unconditionally.

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