]> git.saurik.com Git - wxWidgets.git/commit
The tree only sets the focus in response to a TVN_SELCHANGINGW event if the tree...
authorJulian Smart <julian@anthemion.co.uk>
Tue, 21 Feb 2012 09:24:52 +0000 (09:24 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Tue, 21 Feb 2012 09:24:52 +0000 (09:24 +0000)
commitc8c77ee2af68bcea8ba157b4d5a4e2cd5b4912bd
tree5ae8ef5f580fe83a09a87625ac6f391e45d21a3f
parentc3e0999b06defc9055adbc54e222af8bc10b8691
The tree only sets the focus in response to a TVN_SELCHANGINGW event if the tree is not being deleted.
TVN_SELCHANGINGW is generated when the tree items are deleted. Without this change, if a tree control is
in a dialog being closed, the newly active window will become inactive momentarily when tree items
are deleted and you will see a flicker.

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