Changeset 9569 for trunk/MagicSoft/Mars/mbase
- Timestamp:
- 04/14/10 15:20:31 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mbase/MStatusArray.cc
r9532 r9569 77 77 // name) recuresively 78 78 // 79 #include<TPaveText.h> 79 80 void MStatusArray::RecursiveDelete(TVirtualPad *p, const char id) const 80 81 { … … 89 90 { 90 91 while (p->GetListOfPrimitives()->Remove(o)); 92 93 // This is necessary because for unknown reasons TPaveText 94 // as a member of a class (e.g. MHRanForestGini) doesn't 95 // get removed from the pad if deleted, and therefore 96 // gets deleted twice (FIXME: To be investigated) 97 if (dynamic_cast<TPaveText*>(o) && !o->TestBit(kCanDelete)) 98 continue; 99 91 100 delete o; 92 101
Note:
See TracChangeset
for help on using the changeset viewer.