X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ff5802f3996f32207b3325e96af7decaae18971b..e715f4e791fca58d82b01a973807aa0cd866c99f:/src/os2/toolbar.cpp diff --git a/src/os2/toolbar.cpp b/src/os2/toolbar.cpp index a64272e0ab..2cf452ba77 100644 --- a/src/os2/toolbar.cpp +++ b/src/os2/toolbar.cpp @@ -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();