From a0bf2c453677749f820df0c1fef99ab770d2f70f Mon Sep 17 00:00:00 2001 From: Keegi Date: Tue, 15 Nov 2011 11:06:25 +0200 Subject: [PATCH] don't set font for new button button --- pronterface.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pronterface.py b/pronterface.py index c5c87f7..ee893ac 100755 --- a/pronterface.py +++ b/pronterface.py @@ -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)