diff --git a/etg/htmlprint.py b/etg/htmlprint.py
index f430455e..5e15d905 100644
--- a/etg/htmlprint.py
+++ b/etg/htmlprint.py
@@ -45,10 +45,12 @@ def run():
c = module.find('wxHtmlEasyPrinting')
c.mustHaveApp()
c.addPrivateCopyCtor()
+ tools.fixHtmlSetFonts(c)
c = module.find('wxHtmlPrintout')
c.mustHaveApp()
c.addPrivateCopyCtor()
+ tools.fixHtmlSetFonts(c)
#-----------------------------------------------------------------
diff --git a/unittests/test_dc.py b/unittests/test_dc.py
index 72eb7645..c38c1fec 100644
--- a/unittests/test_dc.py
+++ b/unittests/test_dc.py
@@ -172,7 +172,7 @@ class dc_Tests(wtc.WidgetTestCase):
def test_dcPointLists(self):
dc = wx.ClientDC(self.frame)
dc.DrawLines([wx.Point(5,5), wx.Point(25,5), wx.Point(25,25), wx.Point(25,5), wx.Point(5,5)])
- dc.DrawLines([(15,15), (35,15), (35,35), (35,15), (15,15)])
+ dc.DrawLines( [(15,15), (35,15), (35,35), (35,15), (15,15)] )
#---------------------------------------------------------------------------
diff --git a/unittests/test_htmlprint.py b/unittests/test_htmlprint.py
index 79624d84..65c33a70 100644
--- a/unittests/test_htmlprint.py
+++ b/unittests/test_htmlprint.py
@@ -20,6 +20,11 @@ class htmlprint_Tests(wtc.WidgetTestCase):
obj.Render(0,0, [])
+ def test_htmlprint2(self):
+ hep = wx.html.HtmlEasyPrinting(parentWindow=self.frame)
+ hep.SetFonts('', '', [7,8,10,12,16,22,30])
+
+
#---------------------------------------------------------------------------
if __name__ == '__main__':