X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e8375af8ff97a3649361b988a40b991a8cdaab09..ed8385818f26035d2f60d3a719250ffab48e6c34:/src/gtk/hyperlink.cpp?ds=sidebyside diff --git a/src/gtk/hyperlink.cpp b/src/gtk/hyperlink.cpp index 8d120d9c13..4ea40b70c7 100644 --- a/src/gtk/hyperlink.cpp +++ b/src/gtk/hyperlink.cpp @@ -151,7 +151,7 @@ wxString wxHyperlinkCtrl::GetURL() const if ( UseNative() ) { const gchar *str = gtk_link_button_get_uri(GTK_LINK_BUTTON(m_widget)); - return wxConvFileName->cMB2WX(str); + return wxString(str, *wxConvFileName); } return wxGenericHyperlinkCtrl::GetURL();