X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e4e1487169a6403cb8bb86576c1612f46c19e34f..74c80fe40be90a5a604b9de8731fcedf910e7d7d:/src/gtk/choice.cpp diff --git a/src/gtk/choice.cpp b/src/gtk/choice.cpp index 97129ba2f1..8ccb592059 100644 --- a/src/gtk/choice.cpp +++ b/src/gtk/choice.cpp @@ -79,6 +79,7 @@ bool wxChoice::Create( wxWindow *parent, wxWindowID id, } m_widget = gtk_combo_box_new_text(); + g_object_ref(m_widget); Append(n, choices);