X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bbfc7289d6d2efe7ed31329f5dab8ce99a30e9d7..89e94a4bffda38bdb53d875f022982273f9580f2:/wxPython/demo/Ticker.py?ds=sidebyside 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)