From e8d243a9746a7cfe198ac302c5b0eb045b117660 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sat, 12 Nov 2011 22:47:11 +0000 Subject: [PATCH] Use wxConvertStringToOle() in wxWebViewIE code. Fix compilation in wxUSE_UNICODE=0 case. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69746 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/webview_ie.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/msw/webview_ie.cpp b/src/msw/webview_ie.cpp index ec95028679..710b48e2a7 100644 --- a/src/msw/webview_ie.cpp +++ b/src/msw/webview_ie.cpp @@ -87,7 +87,7 @@ wxWebViewIE::~wxWebViewIE() void wxWebViewIE::LoadURL(const wxString& url) { - m_ie.CallMethod("Navigate", (BSTR) url.wc_str()); + m_ie.CallMethod("Navigate", wxConvertStringToOle(url)); } void wxWebViewIE::SetPage(const wxString& html, const wxString& baseUrl) -- 2.47.2