| 385 | } |
| 386 | |
| 387 | int Treeview::ClearObjectDataRecursive(FileObject * fo, bool includeTop) { |
| 388 | if (!fo) |
| 389 | return -1; |
| 390 | |
| 391 | if (includeTop) { |
| 392 | fo->SetData(NULL); |
| 393 | } |
| 394 | size_t count = fo->GetChildCount(); |
| 395 | for(size_t i = 0; i < count; i++) { |
| 396 | ClearObjectDataRecursive(fo->GetChild(i), true); |
| 397 | } |
| 398 | |
| 399 | return 0; |
| 400 | } |
| 401 | |
| 402 | int Treeview::RedrawItem(HTREEITEM item) { |
| 403 | if (!item) |
nothing calls this directly
no test coverage detected