]> git.saurik.com Git - wxWidgets.git/commit
Applied patch [ 599043 ] fix for wxTreeCtrl/MSW right-click prob
authorJulian Smart <julian@anthemion.co.uk>
Sat, 31 Aug 2002 12:12:54 +0000 (12:12 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Sat, 31 Aug 2002 12:12:54 +0000 (12:12 +0000)
commitde6ac3397dbd6ac5011cc9740822cb9b0f545014
tree40f405a721fcc1f7608081484af0dc68dfc9965b
parent70373b5a57223350e0fcc4968920f81463dc6125
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
src/msw/treectrl.cpp