Lines Matching refs:item
122 bool wxCheckListBox::IsChecked(unsigned int item) const
124 wxCHECK_MSG( IsValid(item), false,
127 return m_checks[item] != 0;
130 void wxCheckListBox::Check(unsigned int item, bool check)
132 wxCHECK_RET( IsValid(item),
136 bool isChecked = m_checks[item] != 0;
139 m_checks[item] = check;
141 RefreshItem(item);
158 int wxCheckListBox::DoAppend(const wxString& item)
160 int pos = wxListBox::DoAppend(item);
162 // the item is initially unchecked
288 int item = y / lbox->GetLineHeight();
291 item >= 0 &&
292 (unsigned int)item < lbox->GetCount() )
294 lbox->PerformAction(wxACTION_CHECKLISTBOX_TOGGLE, item);