Change wxMSW wxTreeCtrl::DoFreeze() to not hide the tree any more.
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 31 May 2013 23:21:36 +0000 (23:21 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 31 May 2013 23:21:36 +0000 (23:21 +0000)
commit4e1e8dc51b8c6f3e56c57b67b0f49ba6c46eded2
treef3d7e15709c53d1e6740e4d0389814789eed4dc0
parent926df8a162ac02ccb102733c2c86d2cd50341d7e
Change wxMSW wxTreeCtrl::DoFreeze() to not hide the tree any more.

Hiding the tree when it's frozen, as done in r72665, results in its own
problems, e.g. loss of focus. So don't do this but resize the control to a
very small size when freezing it and restore it to its old size afterwards.

Closes #15166.

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