From 07fa75bc31fd49da3e4bd4a8bf056a96493bf26b Mon Sep 17 00:00:00 2001 From: Ove Kaaven Date: Thu, 22 Apr 1999 22:39:31 +0000 Subject: [PATCH] Another Unicode fix. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2261 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/gtk/listbox.cpp | 2 +- src/gtk1/listbox.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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; } } -- 2.47.2