| 1553 | } |
| 1554 | |
| 1555 | void wxShape::AddText(const wxString& string) |
| 1556 | { |
| 1557 | wxNode *node = m_regions.GetFirst(); |
| 1558 | if (!node) |
| 1559 | return; |
| 1560 | wxShapeRegion *region = (wxShapeRegion *)node->GetData(); |
| 1561 | region->ClearText(); |
| 1562 | wxShapeTextLine *new_line = |
| 1563 | new wxShapeTextLine(0.0, 0.0, string); |
| 1564 | region->GetFormattedText().Append(new_line); |
| 1565 | |
| 1566 | m_formatted = false; |
| 1567 | } |
| 1568 | |
| 1569 | void wxShape::SetSize(double x, double y, bool WXUNUSED(recursive)) |
| 1570 | { |