X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/08809d1886fbf942938f8e211701fa31a8fb501f..33ef0bdb1f177245425428b0c5d46786b8b66825:/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