]> git.saurik.com Git - wxWidgets.git/commit
Freeze wxTreeCtrl in wxMSW by hiding it.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 13 Oct 2012 22:52:35 +0000 (22:52 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 13 Oct 2012 22:52:35 +0000 (22:52 +0000)
commit6754c300cf9a378f4dcbe745be545139ffa0a989
tree08a932789b7a5842d48b3bad8c5b305152726c76
parent861bdae4742c61aee0452316de7b71013d8c5ea9
Freeze wxTreeCtrl in wxMSW by hiding it.

This is far from perfect but better than alternative as freezing this control
by sending WM_SETREDRAW to it can result in completely broken behaviour as
explained in http://support.microsoft.com/kb/130611. And not freezing it at
all shows horrible flicker when adding even a relatively small number of items
at once to the control because it recalculates and repositions its scrollbars
after every parent node addition.

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