No changes, just remove redundant code.

Don't call FindToolByPosition() again in wxAuiToolBar::OnLeftUp() when we just
called it above.

Closes #13600.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69569 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2011-10-27 22:48:46 +00:00
parent e4c8592e9c
commit 776f4b8df8

View File

@ -2601,9 +2601,6 @@ void wxAuiToolBar::OnLeftUp(wxMouseEvent& evt)
}
else
{
wxAuiToolBarItem* hit_item;
hit_item = FindToolByPosition(evt.GetX(), evt.GetY());
if (m_action_item && hit_item == m_action_item)
{
UnsetToolTip();