]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/HtmlWindow.py
Fix "warning: operation on 'y' may be undefined".
[wxWidgets.git] / wxPython / demo / HtmlWindow.py
index 633a9ccb59d7401dee64594855f6404c312e3e77..0374604f14ef3cc2c9b58189937e4ce8a9651703 100644 (file)
@@ -18,7 +18,7 @@ class MyHtmlWindow(html.HtmlWindow):
         self.log = log
         self.Bind(wx.EVT_SCROLLWIN, self.OnScroll )
         if "gtk2" in wx.PlatformInfo:
-            self.NormalizeFontSizes()
+            self.SetStandardFonts()
 
     def OnScroll( self, event ):
         #print 'event.GetOrientation()',event.GetOrientation()