]> git.saurik.com Git - wxWidgets.git/commit - src/msw/notebook.cpp
Reduce flicker when removing wxNotebook page.
authorVáclav Slavík <vslavik@fastmail.fm>
Wed, 1 Sep 2010 13:28:43 +0000 (13:28 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Wed, 1 Sep 2010 13:28:43 +0000 (13:28 +0000)
commit8138f406a26d9bbbb3d841af84af85d1d8cb5ea1
tree1243769001af9194c7e51a5ca92df73aba959e3f
parent65a14fe8ea8ed5f215bf704e49a83cf3aaf38021
Reduce flicker when removing wxNotebook page.

wxMSW implementation hides all pages except the selected one. But when
removing selected page from the control, this invariant is temporarily
broken and this results in visible flicker. Hiding the page as soon as
it gets removed fixes it.

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