Don't grab focus when calling wxTreeCtrl::SelectItem().
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 24 Oct 2010 22:41:03 +0000 (22:41 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 24 Oct 2010 22:41:03 +0000 (22:41 +0000)
commit1da2783c334e028f775bcfb7b5f7e69ca66aff68
tree12caf03d82f3be81f12650437be4cdb41279c7e0
parente4545e0183a7c117d9c745a165d1f57293d873e9
Don't grab focus when calling wxTreeCtrl::SelectItem().

The workaround for the unexpected events order introduced in r49588 should
only apply to the situation when the user selects an item in the tree, not
when it's done programmatically as this results in unexpected focus changes
(see #11274).

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