Skip to content

Commit

Permalink
Force WebViewBackendIE - as the Edge backend is (as-yet) untested.
Browse files Browse the repository at this point in the history
  • Loading branch information
Niel authored and Niel committed Mar 15, 2021
1 parent 033e8b2 commit de305db
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Application/Nlv/DataExplorer.py
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ def __init__(self, frame):
parent = frame.GetDataExplorerPanel()

# create web control
self._WebView = wx.html2.WebView.New(parent)
self._WebView = wx.html2.WebView.New(parent, backend = wx.html2.WebViewBackendIE)
self._WebView.EnableHistory(True)
self._WebView.EnableContextMenu(False)

Expand Down
3 changes: 2 additions & 1 deletion Application/Nlv/EventDisplay.py
Original file line number Diff line number Diff line change
Expand Up @@ -1305,9 +1305,10 @@ def __init__(self, parent, context, chart_info):

self.InitCharting()

self._Figure = wx.html2.WebView.New(self)
self._Figure = wx.html2.WebView.New(self, backend = wx.html2.WebViewBackendIE)
self._Figure.EnableHistory(False)
self._Figure.EnableContextMenu(False)
self._FigureLoaded = False

self.Bind(wx.html2.EVT_WEBVIEW_LOADED, self.OnPageLoaded)
self.SetupHtml()
Expand Down

0 comments on commit de305db

Please sign in to comment.