void CRemoteControlRepeaterPanel::onSelect(wxListEvent& event) { m_selected = event.GetSelection(); m_unlink->Enable(); }