X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/58d185f709674cb86ffe236b28a21d8ad9984861..3083eb85df678aaeac65b9f8bcd9c9a465527e49:/src/gtk1/window.cpp diff --git a/src/gtk1/window.cpp b/src/gtk1/window.cpp index 622470a474..a471eeda22 100644 --- a/src/gtk1/window.cpp +++ b/src/gtk1/window.cpp @@ -3995,7 +3995,8 @@ void wxWindowGTK::DoSetToolTip( wxToolTip *tip ) void wxWindowGTK::ApplyToolTip( GtkTooltips *tips, const wxChar *tip ) { - gtk_tooltips_set_tip( tips, GetConnectWidget(), wxConvCurrent->cWX2MB(tip), (gchar*) NULL ); + wxString tmp( tip ); + gtk_tooltips_set_tip( tips, GetConnectWidget(), wxGTK_CONV(tmp), (gchar*) NULL ); } #endif // wxUSE_TOOLTIPS