| 29 | } |
| 30 | |
| 31 | void PortSelectorDialog::onListSelect( wxCommandEvent& /* event */ ) { |
| 32 | int pSelect = m_portList->GetSelection(); |
| 33 | if (pSelect != -1) { |
| 34 | m_portSelection->SetValue(m_portList->GetString(pSelect)); |
| 35 | } |
| 36 | } |
| 37 | |
| 38 | |
| 39 | void PortSelectorDialog::onCancelButton( wxCommandEvent& /* event */ ) { |