From e678981e9a19bbba85d4ee9eb9bae5cb2fab7483 Mon Sep 17 00:00:00 2001 From: =?utf8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Fri, 9 Mar 2007 16:36:11 +0000 Subject: [PATCH] Unicode compilation fix git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44702 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/gtk/hyperlink.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- 2.45.2