m_window = win;
if (m_text.empty())
- m_window->ApplyToolTip( gs_tooltips, (wxChar*) NULL );
+ m_window->ApplyToolTip( gs_tooltips, NULL );
else
- m_window->ApplyToolTip( gs_tooltips, m_text );
+ m_window->ApplyToolTip( gs_tooltips, wxGTK_CONV_SYS(m_text) );
}
/* static */
-void wxToolTip::Apply(GtkWidget *w, const wxCharBuffer& tip)
+void wxToolTip::Apply(GtkWidget *w, const gchar *tip)
{
if ( !gs_tooltips )
gs_tooltips = gtk_tooltips_new();