]> git.saurik.com Git - wxWidgets.git/commitdiff
can't have a zero sized font
authorRobin Dunn <robin@alldunn.com>
Fri, 18 Feb 2005 04:46:40 +0000 (04:46 +0000)
committerRobin Dunn <robin@alldunn.com>
Fri, 18 Feb 2005 04:46:40 +0000 (04:46 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32131 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

wxPython/wx/lib/analogclock.py

index 72a21e7957a10f9146512d910c965bd7dcff598e..442dd0f0e465f80480632f463958f6fdb9df24ea 100644 (file)
@@ -80,7 +80,7 @@ class AnalogClockWindow(wx.PyWindow):
         self.tickMarkHoursPen = wx.Pen((0, 0, 0), 1, wx.SOLID)
         self.tickMarkHoursBrush = wx.Brush((0, 0, 0), wx.SOLID)
         self.markSizeHour = 10
-        self.tickMarkHoursFont = wx.Font(0, wx.SWISS, wx.NORMAL, wx.BOLD)
+        self.tickMarkHoursFont = wx.Font(1, wx.SWISS, wx.NORMAL, wx.BOLD)
         self.tickMarkHoursFont.SetPointSize(self.markSizeHour)
 
         self.tickMarkMinutesPen = wx.Pen((0, 0, 0), 1, wx.SOLID)