Fix ALL dropdowns on Windows
parent
c5e6fe2283
commit
220ce936c8
|
@ -185,7 +185,7 @@ class PronterWindow(wx.Frame,pronsole.pronsole):
|
||||||
scan=self.scanserial()
|
scan=self.scanserial()
|
||||||
self.serialport = wx.ComboBox(self.panel, -1,
|
self.serialport = wx.ComboBox(self.panel, -1,
|
||||||
choices=scan,
|
choices=scan,
|
||||||
style=wx.CB_SIMPLE|wx.CB_DROPDOWN|wx.CB_SORT, pos=(50,0))
|
style=wx.CB_DROPDOWN|wx.CB_SORT, pos=(50,0))
|
||||||
try:
|
try:
|
||||||
self.serialport.SetValue(scan[0])
|
self.serialport.SetValue(scan[0])
|
||||||
except:
|
except:
|
||||||
|
|
Loading…
Reference in New Issue