| 716 | } |
| 717 | |
| 718 | SItemPanel * SListView::GetItemPanel(int iItem) |
| 719 | { |
| 720 | if(iItem<0 || iItem>=m_adapter->getCount()) |
| 721 | return NULL; |
| 722 | SPOSITION pos = m_lstItems.GetHeadPosition(); |
| 723 | while(pos) |
| 724 | { |
| 725 | ItemInfo ii = m_lstItems.GetNext(pos); |
| 726 | if((int)ii.pItem->GetItemIndex() == iItem) |
| 727 | return ii.pItem; |
| 728 | } |
| 729 | return NULL; |
| 730 | } |
| 731 | |
| 732 | |
| 733 | BOOL SListView::CreateChildren(pugi::xml_node xmlNode) |
nothing calls this directly
no test coverage detected