Toolbar/tooltip udates

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16141 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
David Webster
2002-07-11 22:14:39 +00:00
parent 63b6646e5d
commit 5d644707ca
4 changed files with 31 additions and 14 deletions

View File

@@ -1439,7 +1439,7 @@ void wxToolBar::OnTimer (
wxTimerEvent& rEvent
)
{
if (rEvent.GetId() == (int)m_vToolTimer.GetTimerId())
if (rEvent.GetId() == m_vToolTimer.GetTimerId())
{
wxPoint vPos( m_vXMouse
,m_vYMouse
@@ -1449,7 +1449,7 @@ void wxToolBar::OnTimer (
m_vToolTimer.Stop();
m_vToolExpTimer.Start(3000L, TRUE);
}
else if (rEvent.GetId() == (int)m_vToolExpTimer.GetTimerId())
else if (rEvent.GetId() == m_vToolExpTimer.GetTimerId())
{
m_pToolTip->HideToolTipWindow();
GetParent()->Refresh();