diff --git a/wxPython/demo/Ticker.py b/wxPython/demo/Ticker.py index 220b051f44..8eb01f7842 100644 --- a/wxPython/demo/Ticker.py +++ b/wxPython/demo/Ticker.py @@ -77,6 +77,8 @@ class TestPanel(wx.Panel): self.SetTickDirection("rtl") self.SetTickFont(self.ticker.GetFont()) self.ticker.SetText(self.txt.GetValue()) + + def SetTickFont(self, font): """Sets ticker font, updates label""" self.ticker.SetFont(font)