parameters: ( self, choice, clientData=None )
docstring: This base control function override is necessary so the control can keep track
          of any additions to the list of choices, because wx.ComboBox doesn't have an
          accessor for the choice list.  The code here is the same as in the
          SetParameters() mixin function, but is done for the individual value
          as appended, so the list can be built incrementally without speed penalty.
docstring_summary: This base control function override is necessary so the control can keep track
          of any additions to the list of choices, because wx.ComboBox doesn't have an
          accessor for the choice list.  The code here is the same as in the
          SetParameters() mixin function, but is done for the individual value
          as appended, so the list can be built incrementally without speed penalty.
docstring_tokens: This base control function override is necessary so the control can keep track of any additions to the list of choices because wx . ComboBox doesn t have an accessor for the choice list . The code here is the same as in the SetParameters () mixin function but is done for the individual value as appended so the list can be built incrementally without speed penalty .
function: def Append( self, choice, clientData=None ):
          """
          This base control function override is necessary so the control can keep track
          of any additions to the list of choices, because wx.ComboBox doesn't have an
          accessor for the choice list.  The code here is the same as in the
          SetParameters() mixin function, but is done for the individual value
          as appended, so the list can be built incrementally without speed penalty.
          """
          if self._mask:
              if type(choice) not in (types.StringType, types.UnicodeType):
                  raise TypeError('%s: choices must be a sequence of strings' % str(self._index))
              elif not self.IsValid(choice):
                  raise ValueError('%s: "%s" is not a valid value for the control as specified.' % (str(self._index), choice))
  
              if not self._ctrl_constraints._choices:
                  self._ctrl_constraints._compareChoices = []
                  self._ctrl_constraints._choices = []
                  self._hasList = True
  
              compareChoice = choice.strip()
  
              if self._ctrl_constraints._compareNoCase:
                  compareChoice = compareChoice.lower()
  
              if self._ctrl_constraints._alignRight:
                  choice = choice.rjust(self._masklength)
              else:
                  choice = choice.ljust(self._masklength)
              if self._ctrl_constraints._fillChar != ' ':
                  choice = choice.replace(' ', self._fillChar)
  ##            dbg('updated choice:', choice)
  
  
              self._ctrl_constraints._compareChoices.append(compareChoice)
              self._ctrl_constraints._choices.append(choice)
              self._choices = self._ctrl_constraints._choices     # (for shorthand)
  
              if( not self.IsValid(choice) and
                 (not self._ctrl_constraints.IsEmpty(choice) or
                  (self._ctrl_constraints.IsEmpty(choice) and self._ctrl_constraints._validRequired) ) ):
                  raise ValueError('"%s" is not a valid value for the control "%s" as specified.' % (choice, self.name))
  
          wx.ComboBox.Append(self, choice, clientData)
function_tokens: def Append ( self , choice , clientData = None ) : if self . _mask : if type ( choice ) not in ( types . StringType , types . UnicodeType ) : raise TypeError ( '%s: choices must be a sequence of strings' % str ( self . _index ) ) elif not self . IsValid ( choice ) : raise ValueError ( '%s: "%s" is not a valid value for the control as specified.' % ( str ( self . _index ) , choice ) ) if not self . _ctrl_constraints . _choices : self . _ctrl_constraints . _compareChoices = [ ] self . _ctrl_constraints . _choices = [ ] self . _hasList = True compareChoice = choice . strip ( ) if self . _ctrl_constraints . _compareNoCase : compareChoice = compareChoice . lower ( ) if self . _ctrl_constraints . _alignRight : choice = choice . rjust ( self . _masklength ) else : choice = choice . ljust ( self . _masklength ) if self . _ctrl_constraints . _fillChar != ' ' : choice = choice . replace ( ' ' , self . _fillChar ) ##            dbg('updated choice:', choice) self . _ctrl_constraints . _compareChoices . append ( compareChoice ) self . _ctrl_constraints . _choices . append ( choice ) self . _choices = self . _ctrl_constraints . _choices # (for shorthand) if ( not self . IsValid ( choice ) and ( not self . _ctrl_constraints . IsEmpty ( choice ) or ( self . _ctrl_constraints . IsEmpty ( choice ) and self . _ctrl_constraints . _validRequired ) ) ) : raise ValueError ( '"%s" is not a valid value for the control "%s" as specified.' % ( choice , self . name ) ) wx . ComboBox . Append ( self , choice , clientData )