- self.cb_units = wx.ComboBox(self.pnl, choices=cb_units_choices,
- value=cb_units_default, style=wx.CB_READONLY)
+
+ self.cb_units = []
+ for choice in range(len(cb_units_choices)):
+ label = cb_units_choices[choice]
+ style = wx.RB_GROUP if not choice else 0
+ self.cb_units.append(wx.RadioButton(self.pnl, label=label, style=style))