X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e78c1d7855d1fefcdbff0e093e21e5cf101ca604..fc5d9e38ee002c024be3019e37b63f1a1d88e7c2:/src/gtk/combobox.cpp diff --git a/src/gtk/combobox.cpp b/src/gtk/combobox.cpp index 30a9824ea4..b94d1f983b 100644 --- a/src/gtk/combobox.cpp +++ b/src/gtk/combobox.cpp @@ -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); }