| 120 | } |
| 121 | |
| 122 | void ComboBox::notifyListSelectAccept(ListBox* _widget, size_t _position) |
| 123 | { |
| 124 | mItemIndex = _position; |
| 125 | Base::setCaption(mItemIndex != ITEM_NONE ? mList->getItemNameAt(mItemIndex) : UString()); |
| 126 | |
| 127 | mDropMouse = false; |
| 128 | InputManager::getInstance().setKeyFocusWidget(this); |
| 129 | |
| 130 | if (mModeDrop) |
| 131 | { |
| 132 | _resetContainer(false); |
| 133 | |
| 134 | eventComboAccept(this, mItemIndex); |
| 135 | } |
| 136 | } |
| 137 | |
| 138 | void ComboBox::notifyListChangePosition(ListBox* _widget, size_t _position) |
| 139 | { |
nothing calls this directly
no test coverage detected