From: Vadim Zeitlin Date: Sun, 24 Oct 2010 22:41:03 +0000 (+0000) Subject: Don't grab focus when calling wxTreeCtrl::SelectItem(). X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/1da2783c334e028f775bcfb7b5f7e69ca66aff68?hp=1da2783c334e028f775bcfb7b5f7e69ca66aff68 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 ---