From 7d1fea10d4409e83f8a369c0691198d585b5477f Mon Sep 17 00:00:00 2001 From: Mart Raudsepp Date: Mon, 15 May 2006 16:00:59 +0000 Subject: [PATCH] No cast necessary for g_object_set first arg (it takes a gpointer). git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39160 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/gtk/combobox.cpp | 2 +- src/gtk/textctrl.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gtk/combobox.cpp b/src/gtk/combobox.cpp index b73a7ad394..382b52a18e 100644 --- a/src/gtk/combobox.cpp +++ b/src/gtk/combobox.cpp @@ -295,7 +295,7 @@ bool wxComboBox::Create( wxWindow *parent, wxWindowID id, const wxString& value, gtk_combo_set_case_sensitive( GTK_COMBO(m_widget), TRUE ); if (style & wxNO_BORDER) - g_object_set( GTK_ENTRY( combo->entry ), "has-frame", FALSE, NULL ); + g_object_set (combo->entry, "has-frame", FALSE, NULL ); GtkWidget *list = combo->list; diff --git a/src/gtk/textctrl.cpp b/src/gtk/textctrl.cpp index 3faedf4790..c3b61e8e3e 100644 --- a/src/gtk/textctrl.cpp +++ b/src/gtk/textctrl.cpp @@ -612,7 +612,7 @@ bool wxTextCtrl::Create( wxWindow *parent, m_text = gtk_entry_new(); if (style & wxNO_BORDER) - g_object_set( GTK_ENTRY(m_text), "has-frame", FALSE, NULL ); + g_object_set (m_text, "has-frame", FALSE, NULL); } m_parent->DoAddChild( this ); -- 2.50.0