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