code: def _create_borderchoice_combo(self):
          
  
          choices = [c[0] for c in self.border_toggles]
          self.borderchoice_combo = \
              _widgets.BorderEditChoice(self, choices=choices,
                                        style=wx.CB_READONLY, size=(50, -1))
  
          self.borderchoice_combo.SetToolTipString(
              _(u"Choose borders for which attributes are changed"))
  
          self.borderstate = self.border_toggles[0][0]
  
          self.AddControl(self.borderchoice_combo)
  
          self.Bind(wx.EVT_COMBOBOX, self.OnBorderChoice,
                    self.borderchoice_combo)
  
          self.borderchoice_combo.SetValue("AllBorders")
docs: Create border choice combo box