X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/08809d1886fbf942938f8e211701fa31a8fb501f..85284ca4b226d9a1ab6bed26c5eaa480543649d5:/src/gtk/hyperlink.cpp diff --git a/src/gtk/hyperlink.cpp b/src/gtk/hyperlink.cpp index d9d9ea1420..44645ce0fa 100644 --- a/src/gtk/hyperlink.cpp +++ b/src/gtk/hyperlink.cpp @@ -84,6 +84,7 @@ bool wxHyperlinkCtrl::Create(wxWindow *parent, wxWindowID id, } m_widget = gtk_link_button_new("asdfsaf asdfdsaf asdfdsa"); + g_object_ref(m_widget); gtk_widget_show(m_widget); // alignment