From ed97f493ab59a3fc510b50bad9e1cc8648fc490f Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Tue, 21 Mar 2006 13:33:08 +0000 Subject: [PATCH] can't pass objects through ... (please don't ever ignore this gcc warning) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38245 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/gtk/colordlg.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gtk/colordlg.cpp b/src/gtk/colordlg.cpp index 4c14ef5dfc..b264c991ca 100644 --- a/src/gtk/colordlg.cpp +++ b/src/gtk/colordlg.cpp @@ -107,7 +107,7 @@ void wxColourDialog::ColourDataToDialog() wxGtkString pal(gtk_color_selection_palette_to_string(colors, n_colors)); GtkSettings *settings = gtk_widget_get_settings(GTK_WIDGET(sel)); - g_object_set(settings, "gtk-color-palette", pal, NULL); + g_object_set(settings, "gtk-color-palette", pal.c_str(), NULL); } void wxColourDialog::DialogToColourData() -- 2.45.2