wxToolTip::wxToolTip( const wxString &tip )
{
m_text = tip;
- m_window = (wxWindow*) NULL;
+ m_window = NULL;
}
wxToolTip::~wxToolTip()
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