git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34083 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn 2005-05-16 20:12:50 +00:00
parent 1a0c7d558e
commit cbbd3db2f9

View File

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