X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/caeac82e4d649027472b6696513d632d4370f4d4..b6b4695492baff990f5cb4c50522fd6a72c2773d:/wxPython/wx/lib/analogclock/helpers.py?ds=inline diff --git a/wxPython/wx/lib/analogclock/helpers.py b/wxPython/wx/lib/analogclock/helpers.py index 891b40ecd3..30c66066fb 100644 --- a/wxPython/wx/lib/analogclock/helpers.py +++ b/wxPython/wx/lib/analogclock/helpers.py @@ -649,11 +649,11 @@ class TickSet: a_tick = self.ticks[0] size = a_tick.GetMaxSize(scale) - self.font.SetPointSize(size) maxsize = size # Try to find a 'good' max size for text-based ticks. if a_tick.text is not None: + self.font.SetPointSize(size) dc = wx.MemoryDC() dc.SelectObject(wx.EmptyBitmap(*clocksize.Get())) dc.SetFont(self.font)