| 73 | } |
| 74 | |
| 75 | void CRoomListCombo::SetSelected(int selected) { |
| 76 | // Now add all the sounsd |
| 77 | int count = GetCount(); |
| 78 | for (int i = 0; i < count; i++) { |
| 79 | if (selected == (int)GetItemData(i)) |
| 80 | SetCurSel(i); |
| 81 | } |
| 82 | } |
| 83 | |
| 84 | int CRoomListCombo::GetSelected() { return (int)GetItemData(GetCurSel()); } |
| 85 |
no outgoing calls
no test coverage detected