| 471 | } |
| 472 | |
| 473 | void wxShape::ClearAttachments() |
| 474 | { |
| 475 | wxNode *node = m_attachmentPoints.GetFirst(); |
| 476 | while (node) |
| 477 | { |
| 478 | wxAttachmentPoint *point = (wxAttachmentPoint *)node->GetData(); |
| 479 | delete point; |
| 480 | node = node->GetNext(); |
| 481 | } |
| 482 | m_attachmentPoints.Clear(); |
| 483 | } |
| 484 | |
| 485 | void wxShape::ClearText(int regionId) |
| 486 | { |