Insert at front of canvas
| 441 | |
| 442 | // Insert at front of canvas |
| 443 | void wxShape::InsertInCanvas(wxShapeCanvas *theCanvas) |
| 444 | { |
| 445 | theCanvas->InsertShape(this); |
| 446 | wxNode *node = m_children.GetFirst(); |
| 447 | wxShape *lastImage = this; |
| 448 | while (node) |
| 449 | { |
| 450 | wxShape *object = (wxShape *)node->GetData(); |
| 451 | object->AddToCanvas(theCanvas, lastImage); |
| 452 | lastImage = object; |
| 453 | |
| 454 | node = node->GetNext(); |
| 455 | } |
| 456 | } |
| 457 | |
| 458 | void wxShape::RemoveFromCanvas(wxShapeCanvas *theCanvas) |
| 459 | { |
nothing calls this directly
no test coverage detected