// Name: src/gtk1/tooltip.cpp
// Purpose: wxToolTip implementation
// Author: Robert Roebling
-// Id: $Id$
// Copyright: (c) 1998 Robert Roebling
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
// global data
//-----------------------------------------------------------------------------
-static GtkTooltips *ss_tooltips = (GtkTooltips*) NULL;
+static GtkTooltips *ss_tooltips = NULL;
//-----------------------------------------------------------------------------
// wxToolTip
wxToolTip::wxToolTip( const wxString &tip )
{
m_text = tip;
- m_window = (wxWindow*) NULL;
+ m_window = NULL;
}
void wxToolTip::SetTip( const wxString &tip )
m_window = win;
if (m_text.empty())
- m_window->ApplyToolTip( ss_tooltips, (wxChar*) NULL );
+ m_window->ApplyToolTip( ss_tooltips, NULL );
else
m_window->ApplyToolTip( ss_tooltips, m_text );
}