Make monitor mode a ToggleButton
This commit is contained in:
parent
26ea05a21d
commit
38ed5a2a1d
|
@ -111,8 +111,8 @@ class Frame(wx.Frame):
|
|||
devgrid.Add(l)
|
||||
|
||||
self.monitor = False
|
||||
self.ckM = wx.CheckBox(self, label = "Monitor mode")
|
||||
self.ckM.Bind(wx.EVT_CHECKBOX, self.check_m)
|
||||
self.ckM = wx.ToggleButton(self, label = "Monitor mode")
|
||||
self.ckM.Bind(wx.EVT_TOGGLEBUTTON, self.check_m)
|
||||
|
||||
ps = self.GetFont().GetPointSize()
|
||||
|
||||
|
|
Loading…
Reference in New Issue