I really wanted to grant my bounty to someone but really here is the solution that lmjohns led me too ... sort of ... the solution is to use wx IEWin
import wx
import wx.lib.iewin as iewin
class MyBrowser(wx.Dialog):
def __init__(self, *args, **kwds):
wx.Dialog.__init__(self, *args, **kwds)
sizer = wx.BoxSizer(wx.VERTICAL)
self.browser = iewin.IEHtmlWindow(self)
sizer.Add(self.browser, 1, wx.EXPAND, 10)
self.SetSizer(sizer)
self.SetSize((850, 730))
def load(self,uri):
self.browser.Navigate(uri)
if __name__ == '__main__':
app = wx.App()
dialog = MyBrowser(None, -1)
dialog.browser.Navigate("https://www.google.com")
dialog.Show()
app.MainLoop()