| 82 | #include "DallasSoundDlg.h" |
| 83 | |
| 84 | void CSoundSourceDialog::OnSelect() { |
| 85 | CDallasSoundDlg dlg; |
| 86 | |
| 87 | int selected = m_sound_combo.GetSelected(); |
| 88 | if (selected != -1) |
| 89 | dlg.m_SoundName = Sounds[selected].name; |
| 90 | |
| 91 | if (dlg.DoModal() == IDCANCEL) |
| 92 | return; |
| 93 | |
| 94 | m_sound_combo.SetSelected(dlg.m_SoundIndex); |
| 95 | } |
nothing calls this directly
no test coverage detected