#NEWLINE# def init_widget( self ) : #NEWLINE# #INDENT# ' Create and initialize the underlying widget.\n\n        ' #NEWLINE# super ( WxComboBox , self ) . init_widget ( ) #NEWLINE# d = self . declaration #NEWLINE# self . set_items ( d . items ) #NEWLINE# self . set_index ( d . index ) #NEWLINE# self . set_editable ( d . editable ) #NEWLINE# self . widget . Bind ( wx . EVT_COMBOBOX , self . on_index_changed )