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
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user