don't set font for new button button

master
Keegi 2011-11-15 11:06:25 +02:00
parent 87ef3e6e8c
commit a0bf2c4536
1 changed files with 1 additions and 1 deletions

View File

@ -725,7 +725,7 @@ class PronterWindow(wx.Frame,pronsole.pronsole):
except:
if i == newbuttonbuttonindex:
self.newbuttonbutton=b=wx.Button(self.panel,-1,"+",size=(16,16))
b.SetFont(wx.Font(12,wx.FONTFAMILY_SWISS,wx.FONTSTYLE_NORMAL,wx.FONTWEIGHT_BOLD))
#b.SetFont(wx.Font(12,wx.FONTFAMILY_SWISS,wx.FONTSTYLE_NORMAL,wx.FONTWEIGHT_BOLD))
b.SetForegroundColour("#4444ff")
b.SetToolTip(wx.ToolTip(_("click to add new custom button")))
b.Bind(wx.EVT_BUTTON,self.cbutton_edit)