X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8650108199bf799f21e29811cddaefd579c98c88..b0b71b31c3b07b973d230c179d74b41eb5aaa115:/src/gtk/hyperlink.cpp?ds=sidebyside diff --git a/src/gtk/hyperlink.cpp b/src/gtk/hyperlink.cpp index 4ea40b70c7..44645ce0fa 100644 --- a/src/gtk/hyperlink.cpp +++ b/src/gtk/hyperlink.cpp @@ -23,7 +23,7 @@ #pragma hdrstop #endif -#if wxUSE_HYPERLINKCTRL && defined(__WXGTK210__) +#if wxUSE_HYPERLINKCTRL && defined(__WXGTK210__) && !defined(__WXUNIVERSAL__) #include "wx/hyperlink.h" @@ -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