Don't generate duplicated events for clicks on tree +/- buttons.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 30 Aug 2009 17:24:45 +0000 (17:24 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 30 Aug 2009 17:24:45 +0000 (17:24 +0000)
commitf2fec40d2c3533e112e6d673fb113b77e65bfd66
tree732490b3c704a1cf0655a9652d738125b4174c3c
parent08c1613f889a3239c6392b4828c07dd4a00bac22
Don't generate duplicated events for clicks on tree +/- buttons.

In multiple selection mode we process mouse events manually in wxTreeCtrl
itself and already take care of mouse clicks on the buttons there so don't
pass them on to the base class which would generate another event.

Closes #11098 (thanks to Jonathan Liu).

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