Fix edit dialog on Windows
parent
bf8732881a
commit
895a958ea3
|
@ -1187,10 +1187,11 @@ class macroed(wx.Dialog):
|
|||
self.panel=wx.Panel(self,-1)
|
||||
titlesizer=wx.BoxSizer(wx.HORIZONTAL)
|
||||
title = wx.StaticText(self.panel,-1,title%macro_name)
|
||||
title.SetFont(wx.Font(11,wx.NORMAL,wx.NORMAL,wx.BOLD))
|
||||
#title.SetFont(wx.Font(11,wx.NORMAL,wx.NORMAL,wx.BOLD))
|
||||
titlesizer.Add(title,1)
|
||||
self.okb = wx.Button(self.panel, -1, ("Save"))
|
||||
self.okb.Bind(wx.EVT_BUTTON, self.save)
|
||||
self.Bind(wx.EVT_CLOSE, self.close)
|
||||
titlesizer.Add(self.okb)
|
||||
self.cancelb = wx.Button(self.panel, -1, ("Cancel"))
|
||||
self.cancelb.Bind(wx.EVT_BUTTON, self.close)
|
||||
|
|
Loading…
Reference in New Issue