X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bbfc7289d6d2efe7ed31329f5dab8ce99a30e9d7..0a5bb138a71dfc1c706fc0858fb2801500e2c2e8:/wxPython/demo/Ticker.py 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)