Dialog processing updates and some timer fixes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16185 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
David Webster
2002-07-15 21:50:34 +00:00
parent 6bad4c327c
commit 0256cfeb6d
4 changed files with 29 additions and 9 deletions

View File

@@ -976,7 +976,7 @@ void wxToolBar::OnMouseEvent(
m_pToolTip = new wxToolTip(pTool->GetShortHelp());
m_vXMouse = (wxCoord)vPoint.x;
m_vYMouse = (wxCoord)vPoint.y;
m_vToolTimer.Start(3000L, TRUE);
m_vToolTimer.Start(1000L, TRUE);
}
if (!pTool->IsToggled())
RaiseTool(pTool);
@@ -1447,7 +1447,7 @@ void wxToolBar::OnTimer (
m_pToolTip->DisplayToolTipWindow(vPos);
m_vToolTimer.Stop();
m_vToolExpTimer.Start(3000L, TRUE);
m_vToolExpTimer.Start(4000L, TRUE);
}
else if (rEvent.GetId() == m_vToolExpTimer.GetTimerId())
{