From: Václav Slavík Date: Fri, 9 Mar 2007 16:36:11 +0000 (+0000) Subject: Unicode compilation fix X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/e678981e9a19bbba85d4ee9eb9bae5cb2fab7483 Unicode compilation fix git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44702 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/gtk/hyperlink.cpp b/src/gtk/hyperlink.cpp index 665dba4c4f..697d7e358b 100644 --- a/src/gtk/hyperlink.cpp +++ b/src/gtk/hyperlink.cpp @@ -144,7 +144,7 @@ void wxHyperlinkCtrl::SetLabel(const wxString &label) void wxHyperlinkCtrl::SetURL(const wxString &uri) { if ( UseNative() ) - gtk_link_button_set_uri(GTK_LINK_BUTTON(m_widget), uri.c_str()); + gtk_link_button_set_uri(GTK_LINK_BUTTON(m_widget), wxGTK_CONV(uri)); else wxGenericHyperlinkCtrl::SetURL(uri); }