Make monitor mode a ToggleButton

This commit is contained in:
James Bowman 2019-03-02 11:50:35 -08:00
parent 26ea05a21d
commit 38ed5a2a1d
1 changed files with 2 additions and 2 deletions

View File

@ -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()