can't have a zero sized font

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32131 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn 2005-02-18 04:46:40 +00:00
parent 4d2d4dde45
commit 24054d48e9

View 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)