def update_object ( self, event ):
        value = self.values[ self.names.index( event.GetString() ) ]
        if type( self.value ) is not str:
           value = [ value ]

        self.value = value

    #---------------------------------------------------------------------------
    #  Updates the editor when the object trait changes external to the editor:
    #---------------------------------------------------------------------------
Handles the user selecting a new value from the combo box.
dataset/ETHPy150Open enthought/traitsui/traitsui/wx/check_list_editor.py/SimpleEditor.update_object