X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/dcd18dd3002051ae93bfc1a91dff4a3d788fc146..c9ed413ab4f5673ffff00198dc6ce1397398bda4:/src/gtk/hyperlink.cpp diff --git a/src/gtk/hyperlink.cpp b/src/gtk/hyperlink.cpp index dc90de7e58..84d6f0dd6d 100644 --- a/src/gtk/hyperlink.cpp +++ b/src/gtk/hyperlink.cpp @@ -47,9 +47,6 @@ static inline bool UseNative() // implementation // ============================================================================ -IMPLEMENT_DYNAMIC_CLASS(wxHyperlinkCtrl, wxGenericHyperlinkCtrl) - - // ---------------------------------------------------------------------------- // "clicked" // ---------------------------------------------------------------------------- @@ -151,7 +148,7 @@ wxString wxHyperlinkCtrl::GetURL() const if ( UseNative() ) { const gchar *str = gtk_link_button_get_uri(GTK_LINK_BUTTON(m_widget)); - return wxString(str, *wxConvFileName); + return wxString::FromUTF8(str); } return wxGenericHyperlinkCtrl::GetURL();