Add new definitions required by MinGW for webview. Re-enable custom schemes as a result.
See #13509 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69292 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -665,7 +665,6 @@ void wxWebViewIE::RunScript(const wxString& javascript)
|
||||
|
||||
void wxWebViewIE::RegisterHandler(wxSharedPtr<wxWebViewHandler> handler)
|
||||
{
|
||||
#ifndef __MINGW32__
|
||||
wxDynamicLibrary urlMon(wxT("urlmon.dll"));
|
||||
if(urlMon.HasSymbol(wxT("CoInternetGetSession")))
|
||||
{
|
||||
@@ -690,7 +689,6 @@ void wxWebViewIE::RegisterHandler(wxSharedPtr<wxWebViewHandler> handler)
|
||||
{
|
||||
wxFAIL_MSG("urlmon does not contain CoInternetGetSession");
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
bool wxWebViewIE::CanExecCommand(wxString command) const
|
||||
@@ -977,8 +975,6 @@ void wxWebViewIE::onActiveXEvent(wxActiveXEvent& evt)
|
||||
evt.Skip();
|
||||
}
|
||||
|
||||
#ifndef __MINGW32__
|
||||
|
||||
VirtualProtocol::VirtualProtocol(wxSharedPtr<wxWebViewHandler> handler)
|
||||
{
|
||||
m_refCount = 0;
|
||||
@@ -1148,6 +1144,4 @@ ULONG ClassFactory::Release(void)
|
||||
|
||||
}
|
||||
|
||||
#endif // __MINGW32__
|
||||
|
||||
#endif // wxUSE_WEBVIEW && wxUSE_WEBVIEW_IE
|
||||
|
||||
Reference in New Issue
Block a user