Improve mouse handling code in wxAuiToolBar.
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 29 Sep 2010 13:45:56 +0000 (13:45 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 29 Sep 2010 13:45:56 +0000 (13:45 +0000)
commit4a21ea9d9eec67383ffba7c86f7c413ddee28114
tree953b733a675f16d0adfaa3cfce1a599012ac0e3a
parentbb4acdc0855ec84fac009df4c9f218cbbebbdab0
Improve mouse handling code in wxAuiToolBar.

Capture the mouse to handle mouse input on the buttons to ensure we always
reset the button when the mouse leaves it.

Closes #11784.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65669 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
include/wx/aui/auibar.h
src/aui/auibar.cpp