-# 11/18/2003 - Jeff Grimmett (grimmtooth@softhome.net)
-#
-# o Updated for wx namespace
-#
-# 12/13/2003 - Jeff Grimmett (grimmtooth@softhome.net)
-#
-# o got the wxpTag stuff working right.
-#
-# 12/18/2003 - Jeff Grimmett (grimmtooth@softhome.net)
-#
-# o wxScrolledMessageDialog -> ScrolledMessageDialog
-#
import os
import sys
html.HtmlWindow.__init__(self, parent, id, style=wx.NO_FULL_REPAINT_ON_RESIZE)
self.log = log
self.Bind(wx.EVT_SCROLLWIN, self.OnScroll )
+ if "gtk2" in wx.PlatformInfo:
+ self.SetStandardFonts()
def OnScroll( self, event ):
#print 'event.GetOrientation()',event.GetOrientation()
def runTest(frame, nb, log):
win = TestHtmlPanel(nb, frame, log)
- print wx.Window_FindFocus()
return win
overview = """<html><body>
-<h2>wxHtmlWindow</h2>
+<h2>wx.HtmlWindow</h2>
-<p>wxHtmlWindow is capable of parsing and rendering most
+<p>wx.HtmlWindow is capable of parsing and rendering most
simple HTML tags.
<p>It is not intended to be a high-end HTML browser. If you're
if __name__ == '__main__':
import sys,os
import run
- run.main(['', os.path.basename(sys.argv[0])])
+ run.main(['', os.path.basename(sys.argv[0])] + sys.argv[1:])