Call MSWSetEmulationLevel

This commit is contained in:
Robin Dunn
2019-10-22 19:45:34 -07:00
parent 3bc4e9207c
commit 93f62789cc

View File

@@ -47,6 +47,12 @@ class WebViewPanel(wx.Panel):
sizer = wx.BoxSizer(wx.VERTICAL)
btnSizer = wx.BoxSizer(wx.HORIZONTAL)
# Ensure that a newer version of the IE/Edge control will be used
# on Windows
webview.WebView.MSWSetEmulationLevel()
# Create the webView control
self.wv = webview.WebView.New(self)
# Register a handler for the memory: file system