| 592 | } |
| 593 | |
| 594 | void ChildFrame::RedrawCaBlock(const Ca4Block &ca4, const wxTreeItemId &root) { |
| 595 | const std::string type = ca4.TypeAsString(); |
| 596 | const std::string storage = ca4.StorageAsString(); |
| 597 | |
| 598 | std::ostringstream sub_string; |
| 599 | sub_string << type << "/" << storage; |
| 600 | |
| 601 | |
| 602 | std::ostringstream label; |
| 603 | label << ca4.BlockType() |
| 604 | << " (" << sub_string.str() << ") " |
| 605 | << ca4.DimensionAsString(); |
| 606 | |
| 607 | left_->AppendItem(root, wxString::FromUTF8(label.str()), TREE_CA, TREE_CA, |
| 608 | new BlockAddress(ca4.FilePosition())); |
| 609 | } |
| 610 | |
| 611 | void ChildFrame::RedrawCnList(const detail::Cg3Block &cg3, const wxTreeItemId &root) { |
| 612 | if (cg3.Cn3().empty()) { |
nothing calls this directly
no test coverage detected