]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/HtmlWindow.py
accept files in wxHtmlEasyPrinting::{Print,Preview}File, not only URLs
[wxWidgets.git] / wxPython / demo / HtmlWindow.py
index a3321cfbfcd057de0794ad6f327ea01a50f15755..633a9ccb59d7401dee64594855f6404c312e3e77 100644 (file)
@@ -17,6 +17,8 @@ class MyHtmlWindow(html.HtmlWindow):
         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.NormalizeFontSizes()
 
     def OnScroll( self, event ):
         #print 'event.GetOrientation()',event.GetOrientation()
@@ -191,7 +193,6 @@ class TestHtmlPanel(wx.Panel):
 
 def runTest(frame, nb, log):
     win = TestHtmlPanel(nb, frame, log)
-    print wx.Window_FindFocus()
     return win