parameters: (self, parent, cid=wx.ID_ANY, choices=list(), default=None)
docstring: Constructs a Choice Control
          @param parent: The parent window of this control
docstring_summary: Constructs a Choice Control
          @param parent: The parent window of this control
docstring_tokens: Constructs a Choice Control @param parent : The parent window of this control
function: def __init__(self, parent, cid=wx.ID_ANY, choices=list(), default=None):
          """Constructs a Choice Control
          @param parent: The parent window of this control
  
          """
          if len(choices) and isinstance(choices[0], int):
              choices = [ unicode(choice) for choice in choices ]
  
          super(ExChoice, self).__init__(parent, cid, choices=choices)
  
          if default != None and isinstance(default, basestring):
              self.SetStringSelection(default)
          elif default is not None:
              self.SetSelection(default)
function_tokens: def __init__ ( self , parent , cid = wx . ID_ANY , choices = list ( ) , default = None ) : if len ( choices ) and isinstance ( choices [ 0 ] , int ) : choices = [ unicode ( choice ) for choice in choices ] super ( ExChoice , self ) . __init__ ( parent , cid , choices = choices ) if default != None and isinstance ( default , basestring ) : self . SetStringSelection ( default ) elif default is not None : self . SetSelection ( default )