X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8eca4fef106b8327e2e55636de3f68a511a4c392..628eae0bcd7916c57847b7eab739d4cc32534ccf:/wxPython/demo/HtmlWindow.py diff --git a/wxPython/demo/HtmlWindow.py b/wxPython/demo/HtmlWindow.py index a3321cfbfc..0374604f14 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.SetStandardFonts() 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