]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/hyperlink.cpp
better fix for #11803, don't set iconized state for hidden window
[wxWidgets.git] / src / gtk / hyperlink.cpp
index dc90de7e584d666e7cd9b9d1ce6ac24bd83ca492..54b8aa7d8ef1463875ff40cf4f6d6dfbc15179c5 100644 (file)
@@ -151,7 +151,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();