X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8eca4fef106b8327e2e55636de3f68a511a4c392..d0247e6729feedef2ca4833a95aa44e9002da9ec:/wxPython/demo/HtmlWindow.py diff --git a/wxPython/demo/HtmlWindow.py b/wxPython/demo/HtmlWindow.py index a3321cfbfc..9dac81120f 100644 --- a/wxPython/demo/HtmlWindow.py +++ b/wxPython/demo/HtmlWindow.py @@ -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()