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