X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8eca4fef106b8327e2e55636de3f68a511a4c392..5924e48d2e2261a3b50352aa7ec091b82e4c25e8:/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()