• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/wxWidgets-2.8.12/src/generic/

Lines Matching refs:item

184                                      int item,
192 if ( IsCurrent((size_t)item) && !(flags & wxODCB_PAINTING_CONTROL) )
195 combo->OnDrawBackground(dc,rect,item,flags);
204 void wxVListBoxComboPopup::OnDrawItem( wxDC& dc, const wxRect& rect, int item, int flags ) const
211 combo->OnDrawItem(dc,rect,item,flags);
328 wxString item=GetString(i);
329 if (( item.length() >= length) && (! m_partialCompletionString.CmpNoCase(item.Left(length))))
429 // Since in any case we need to find out if the last item is only
438 // Only change selection if item is fully visible
468 // Select item if ENTER is pressed
489 void wxVListBoxComboPopup::Insert( const wxString& item, int pos )
494 m_combo->GetValue() == item )
499 m_strings.Insert(item,pos);
507 int wxVListBoxComboPopup::Append(const wxString& item)
520 if ( item.CmpNoCase(strings.Item(i)) < 0 )
528 Insert(item,pos);
584 void wxVListBoxComboPopup::Delete( unsigned int item )
590 delete (wxClientData*) m_clientDatas[item];
592 m_clientDatas.RemoveAt(item);
595 m_strings.RemoveAt(item);
596 m_widths.RemoveAt(item);
598 if ( (int)item == m_widestItem )
607 if ( (int)item < sel )
609 else if ( (int)item == sel )
623 wxString wxVListBoxComboPopup::GetString( int item ) const
625 return m_strings[item];
628 void wxVListBoxComboPopup::SetString( int item, const wxString& str )
630 m_strings[item] = str;
631 ItemWidthChanged(item);
641 void wxVListBoxComboPopup::SetSelection( int item )
643 wxCHECK_RET( item == wxNOT_FOUND || ((unsigned int)item < GetCount()),
646 m_value = item;
649 wxVListBox::SetSelection(item);
720 // Width of previously widest item has been decreased, so
721 // we'll have to check all to find current widest item.
783 // Adjust height to a multiple of the height of the first item
810 const wxString& item = choices.Item(i);
811 m_strings.Add(item);
943 // wxOwnerDrawnComboBox item manipulation methods
1029 int wxOwnerDrawnComboBox::DoAppend(const wxString& item)
1034 return GetVListBoxComboPopup()->Append(item);
1037 int wxOwnerDrawnComboBox::DoInsert(const wxString& item, unsigned int pos)
1044 GetVListBoxComboPopup()->Insert(item,pos);
1075 // wxOwnerDrawnComboBox item drawing and measuring default implementations
1080 int item,
1091 dc.DrawText( GetVListBoxComboPopup()->GetString(item), rect.x + 2, rect.y );
1095 wxCoord wxOwnerDrawnComboBox::OnMeasureItem( size_t WXUNUSED(item) ) const
1100 wxCoord wxOwnerDrawnComboBox::OnMeasureItemWidth( size_t WXUNUSED(item) ) const
1107 int WXUNUSED(item),