textCtrl = wx.TextCtrl(self, size=(250,25))
font1 = wx.Font(15, wx.MODERN, wx.NORMAL, wx.NORMAL, False, 'Consolas')
textCtrl.SetFont(font1)
textCtrl.AppendText('Red')
转载于:https://www.cnblogs.com/mrnx2004/p/11095498.html
textCtrl = wx.TextCtrl(self, size=(250,25))
font1 = wx.Font(15, wx.MODERN, wx.NORMAL, wx.NORMAL, False, 'Consolas')
textCtrl.SetFont(font1)
textCtrl.AppendText('Red')
转载于:https://www.cnblogs.com/mrnx2004/p/11095498.html