| 167 | } |
| 168 | |
| 169 | void ComboBox::notifyListMouseItemActivate(ListBox* _widget, size_t _position) |
| 170 | { |
| 171 | mItemIndex = _position; |
| 172 | Base::setCaption(mItemIndex != ITEM_NONE ? mList->getItemNameAt(mItemIndex) : UString()); |
| 173 | |
| 174 | InputManager::getInstance().setKeyFocusWidget(this); |
| 175 | |
| 176 | if (mModeDrop) |
| 177 | { |
| 178 | _resetContainer(false); |
| 179 | |
| 180 | eventComboAccept(this, mItemIndex); |
| 181 | } |
| 182 | } |
| 183 | |
| 184 | void ComboBox::notifyMouseWheel(Widget* _sender, int _rel) |
| 185 | { |
nothing calls this directly
no test coverage detected