| 40 | } |
| 41 | |
| 42 | bool ComboBoxControl::GetSelection(int& index) const |
| 43 | { |
| 44 | int sel= m_cb->GetCurSel(); |
| 45 | |
| 46 | if (sel==CB_ERR) |
| 47 | return false; |
| 48 | |
| 49 | index= (int)m_cb->GetItemData(sel); |
| 50 | return true; |
| 51 | } |
| 52 | |
| 53 | bool ComboBoxControl::GetText(std::string& text) const |
| 54 | { |
no test coverage detected