From: Ove Kaaven Date: Thu, 22 Apr 1999 22:39:31 +0000 (+0000) Subject: Another Unicode fix. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/07fa75bc31fd49da3e4bd4a8bf056a96493bf26b Another Unicode fix. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2261 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/gtk/listbox.cpp b/src/gtk/listbox.cpp index 402a02c244..e20908585c 100644 --- a/src/gtk/listbox.cpp +++ b/src/gtk/listbox.cpp @@ -774,7 +774,7 @@ void wxListBox::ApplyToolTip( GtkTooltips *tips, const wxChar *tip ) GList *child = m_list->children; while (child) { - gtk_tooltips_set_tip( tips, GTK_WIDGET( child->data ), tip, (gchar*) NULL ); + gtk_tooltips_set_tip( tips, GTK_WIDGET( child->data ), wxConv_local.cWX2MB(tip), (gchar*) NULL ); child = child->next; } } diff --git a/src/gtk1/listbox.cpp b/src/gtk1/listbox.cpp index 402a02c244..e20908585c 100644 --- a/src/gtk1/listbox.cpp +++ b/src/gtk1/listbox.cpp @@ -774,7 +774,7 @@ void wxListBox::ApplyToolTip( GtkTooltips *tips, const wxChar *tip ) GList *child = m_list->children; while (child) { - gtk_tooltips_set_tip( tips, GTK_WIDGET( child->data ), tip, (gchar*) NULL ); + gtk_tooltips_set_tip( tips, GTK_WIDGET( child->data ), wxConv_local.cWX2MB(tip), (gchar*) NULL ); child = child->next; } }