| 215 | } |
| 216 | } |
| 217 | void CGenericClientListCtrl::RawAddSource(CKnownFile* owner, CClientRef source, SourceItemType type) |
| 218 | { |
| 219 | ClientCtrlItem_Struct* newitem = new ClientCtrlItem_Struct; |
| 220 | newitem->SetContents(owner, source, type); |
| 221 | |
| 222 | m_ListItems.insert( ListItemsPair(source.ECID(), newitem) ); |
| 223 | |
| 224 | long item = InsertItem( GetItemCount(), "" ); |
| 225 | SetItemPtrData( item, reinterpret_cast<wxUIntPtr>(newitem) ); |
| 226 | SetItemBackgroundColour( item, GetBackgroundColour() ); |
| 227 | } |
| 228 | |
| 229 | void CGenericClientListCtrl::AddSource(CKnownFile* owner, const CClientRef& source, SourceItemType type) |
| 230 | { |
nothing calls this directly
no test coverage detected