]> git.saurik.com Git - wxWidgets.git/commitdiff
No cast necessary for g_object_set first arg (it takes a gpointer).
authorMart Raudsepp <leio@gentoo.org>
Mon, 15 May 2006 16:00:59 +0000 (16:00 +0000)
committerMart Raudsepp <leio@gentoo.org>
Mon, 15 May 2006 16:00:59 +0000 (16:00 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39160 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/gtk/combobox.cpp
src/gtk/textctrl.cpp

index b73a7ad394fcb2b65438cad776f2ae97cb9eb6ce..382b52a18eb8bd582d993c530c461fe87ceb039b 100644 (file)
@@ -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;
 
index 3faedf4790b4c2e7a419cc3f6364efd407adb3ce..c3b61e8e3e6dada6d27b50fe8e30232b1628a77b 100644 (file)
@@ -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 );