Download this file
1 2 3 4 5 6 7 8 9 10
#!/usr/bin/python # -*- coding: utf-8 -*- import wx def ChangeFont(event, font, IdRange): print font for text_id in IdRange: wx.FindWindowById(text_id).StyleSetFont(0, font)