]> git.saurik.com Git - wxWidgets.git/commit
Reset hover item when mouse leaves wxAuiToolBar.
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 16 Apr 2012 14:33:35 +0000 (14:33 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 16 Apr 2012 14:33:35 +0000 (14:33 +0000)
commitc22118113a2c35f2cdf2157c36f1052bae8f0d89
treea791b7874c008b7fa846d626a063e9ac4e5ab281
parent365d11bec30b70a437f346f10ed7b0d115d67846
Reset hover item when mouse leaves wxAuiToolBar.

The hover item was not reset properly in some circumstances, do it now.

Also check for the item being disabled in SetHoverItem() itself instead of
doing it several times before calling it.

Closes #14189.

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