import wx # This module uses the new wx namespace from wx import html from Main import opj #---------------------------------------------------------------------- class TestPanel(wx.Panel): def __init__(self, parent, log): self.log = log wx.Panel.__init__(self, parent, -1) hwin = html.HtmlWindow(self, -1) hwin.LoadFile(opj('data/wxPackage.html')) sizer = wx.BoxSizer(wx.VERTICAL) sizer.Add(hwin, 1, wx.EXPAND) self.SetSizer(sizer) #---------------------------------------------------------------------- def runTest(frame, nb, log): win = TestPanel(nb, log) return win #---------------------------------------------------------------------- overview = """