]> git.saurik.com Git - wxWidgets.git/commit
Don't call HitTest() unnecessarily in MSW wxTreeCtrl code.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 7 Jul 2012 13:27:55 +0000 (13:27 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 7 Jul 2012 13:27:55 +0000 (13:27 +0000)
commitd2dcbf20aa97d60147c5e44b21877e229282f436
tree900fbc1e7b210dbd09b2ef5d32f705a1f176b79e
parentff534ba469473a9ace193e736ca131144df307f9
Don't call HitTest() unnecessarily in MSW wxTreeCtrl code.

We already called TreeView_HitTest() above, there is no need to call
wxTreeCtrl::HitTest() again to retrieve exactly the same information.

This also incidentally fixes a warning about unused variable, see #14459.

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