]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/combobox.cpp
Corrected meaning of parameter col as the position not ID in wxLisrCtrl::InsertColumn...
[wxWidgets.git] / src / gtk / combobox.cpp
index 30a9824ea49893c9403ce72fb59aff8b10e47135..b94d1f983b341429a83def8e8e4f1bc54ca5e408 100644 (file)
@@ -156,6 +156,7 @@ bool wxComboBox::Create( wxWindow *parent, wxWindowID id, const wxString& value,
 void wxComboBox::GTKCreateComboBoxWidget()
 {
     m_widget = gtk_combo_box_entry_new_text();
+    g_object_ref(m_widget);
 
     m_entry = GTK_ENTRY(GTK_BIN(m_widget)->child);
 }