X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e4e1487169a6403cb8bb86576c1612f46c19e34f..23fb33aa4e15110d41b5a16fff438e44e0cb3ea9:/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);