Enable building without wxUSE_WEBVIEW_IE

This commit is contained in:
Maarten Bent
2020-01-17 09:37:12 +01:00
committed by Tobias Taschner
parent bb508dc347
commit ce968d0ecb
3 changed files with 6 additions and 3 deletions

View File

@@ -107,9 +107,11 @@ wxStringWebViewFactoryMap::iterator wxWebView::FindFactory(const wxString &backe
void wxWebView::InitFactoryMap()
{
#ifdef __WXMSW__
#if wxUSE_WEBVIEW_IE
if(m_factoryMap.find(wxWebViewBackendIE) == m_factoryMap.end())
RegisterFactory(wxWebViewBackendIE, wxSharedPtr<wxWebViewFactory>
(new wxWebViewFactoryIE));
#endif
#if wxUSE_WEBVIEW_EDGE
if (wxWebViewEdge::IsAvailable() &&