MCPcopy Create free account
hub / github.com/GeoDaCenter/geoda / ClearText

Method ClearText

ogl/basic.cpp:485–498  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

483}
484
485void wxShape::ClearText(int regionId)
486{
487 if (regionId == 0)
488 {
489 m_text.DeleteContents(true);
490 m_text.Clear();
491 m_text.DeleteContents(false);
492 }
493 wxNode *node = m_regions.Item(regionId);
494 if (!node)
495 return;
496 wxShapeRegion *region = (wxShapeRegion *)node->GetData();
497 region->ClearText();
498}
499
500void wxShape::ClearRegions()
501{

Callers 3

AddTextMethod · 0.45
ReadRegionsMethod · 0.45
ReadAttributesMethod · 0.45

Calls 1

ClearMethod · 0.45

Tested by

no test coverage detected