Applied patch [ 599043 ] fix for wxTreeCtrl/MSW right-click prob
Benjamin I. Williams
There currently is a very significant problem with the
right-click behavior in wxTreeCtrl. The attached patch
file fixes this problem.
To better understand the problem, load up the tree
control, and start right-clicking on items. Note how
the focus rectangle does not behave properly. Next,
enable multiple selection. Now select several items,
and start right-clicking on the selected items. Note
how the selection highlights disappear.
If you try the tree sample with the generic tree
control, you will notice that the problem does not
occur, and that the tree control behaves properly.
This patch brings the MSW tree control implementation
in line with the generic implementation. This is the
same behavior that one can notice in applications such
as windows explorer and Visual Studio.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16888
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775