X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8fa876ca9ec87e90605808bfcab4d4226965dbad..52f52ebc4e0be6a9899d328b08db9eb14629d219:/wxPython/demo/FontEnumerator.py diff --git a/wxPython/demo/FontEnumerator.py b/wxPython/demo/FontEnumerator.py index 71ce22e784..0a66c7ab73 100644 --- a/wxPython/demo/FontEnumerator.py +++ b/wxPython/demo/FontEnumerator.py @@ -1,7 +1,3 @@ -# 11/25/2003 - Jeff Grimmett (grimmtooth@softhome.net) -# -# o Updated for V2.5 -# import wx @@ -47,18 +43,11 @@ class TestPanel(wx.Panel): def OnSelect(self, evt): - #print "OnSelect: " face = self.lb1.GetStringSelection() - #print '\t '+face font = wx.Font(28, wx.DEFAULT, wx.NORMAL, wx.NORMAL, False, face) - #print "\t got font" self.txt.SetLabel(face) - #print "\t set label" self.txt.SetFont(font) - #print "\t set font" - #self.txt.SetSize(self.txt.GetBestSize()) - #print "\t set size" - + if wx.Platform == "__WXMAC__": self.Refresh() ## st = font.GetNativeFontInfo().ToString() ## ni2 = wx.NativeFontInfo()