Lines Matching refs:item
123 bool wxVListBox::Select(size_t item, bool select)
128 wxCHECK_MSG( item < GetItemCount(), false,
129 _T("Select(): invalid item index") );
131 bool changed = m_selStore->SelectItem(item, select);
135 RefreshLine(item);
138 DoSetCurrent(item);
157 _T("SelectRange(): invalid item index") );
212 _T("wxVListBox::DoSetCurrent(): invalid item index") );
265 _T("wxVListBox::SetSelection(): invalid item index") );
421 void wxVListBox::DoHandleItemClick(int item, int flags)
448 if ( SelectRange(m_anchor, item) )
455 m_anchor = item;
463 Toggle(item);
465 // the status of the item has definitely changed
475 // make the clicked item the only selection
479 if ( Select(item) )
484 // in any case the item should become the current one
485 if ( DoSetCurrent(item) )
596 int item = HitTest(event.GetPosition());
598 if ( item != wxNOT_FOUND )
613 DoHandleItemClick(item, flags);
619 int item = HitTest(eventMouse.GetPosition());
620 if ( item != wxNOT_FOUND )
623 // if item double-clicked was not yet selected, then treat
625 if ( item == m_current )
629 event.SetInt(item);