X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/524c47aa3adf2af11a3069fd5da035a604f08f66..fad92e2f367f5c37ba4d80c9b57a4453e86c6ac2:/src/osx/carbon/tooltip.cpp?ds=sidebyside diff --git a/src/osx/carbon/tooltip.cpp b/src/osx/carbon/tooltip.cpp index 4252ce410c..f7b4857e9e 100644 --- a/src/osx/carbon/tooltip.cpp +++ b/src/osx/carbon/tooltip.cpp @@ -190,8 +190,7 @@ void wxMacToolTip::Setup( WindowRef win , const wxString& text , const wxPoint& s_ToolTipWindowRef = m_window ; m_backpict = NULL ; #if wxUSE_TIMER - if ( m_timer ) - delete m_timer ; + delete m_timer ; m_timer = new wxMacToolTipTimer( this , s_ToolTipDelay ) ; #endif // wxUSE_TIMER