#! /usr/bin/python import wxversion wxversion.select("2.4") from wxPython.wx import * from wxPython import html class TestApp(wxApp): def OnInit(self): frame = wxFrame(None, -1, "Test", size=(400,300)) htmlwin = html.wxHtmlWindow(frame, -1, style=wxVSCROLL) htmlwin.SetPage("
" + " ".join("blah" for i in range(1,200)).capitalize() + "...
") htmlwin.Show() frame.Show() return True app = TestApp() app.MainLoop()