]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/hyperlink.cpp
Fix various minor PS issues
[wxWidgets.git] / src / gtk / hyperlink.cpp
index 8d120d9c13b8af09432d0422054734ac9908226a..4ea40b70c72680f66b4e2d8970b709bc368b417d 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 wxConvFileName->cMB2WX(str);
+        return wxString(str, *wxConvFileName);
     }
 
     return wxGenericHyperlinkCtrl::GetURL();