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:
@@ -2601,9 +2601,6 @@ void wxAuiToolBar::OnLeftUp(wxMouseEvent& evt)
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
wxAuiToolBarItem* hit_item;
|
|
||||||
hit_item = FindToolByPosition(evt.GetX(), evt.GetY());
|
|
||||||
|
|
||||||
if (m_action_item && hit_item == m_action_item)
|
if (m_action_item && hit_item == m_action_item)
|
||||||
{
|
{
|
||||||
UnsetToolTip();
|
UnsetToolTip();
|
||||||
|
Reference in New Issue
Block a user