X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e78c1d7855d1fefcdbff0e093e21e5cf101ca604..e1f833da2a8bbe01cc96c0d7a3542ac2c1d6d6f0:/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); }