def dispose ( self ):
        control, self.control = self.control, None
        parent = control.GetParent()
        wx.EVT_COMBOBOX(   parent, control.GetId(), None )
        wx.EVT_TEXT_ENTER( parent, control.GetId(), None )
        wx.EVT_KILL_FOCUS( control, None )
Setup a component for Home Assistant.
dataset/ETHPy150Open enthought/traitsui/traitsui/wx/history_control.py/HistoryControl.dispose--crossover with--dataset/ETHPy150Open home-assistant/home-assistant/homeassistant/bootstrap.py/_setup_component