Changeset 8938 for trunk/MagicSoft/Mars/mbase
- Timestamp:
- 06/12/08 14:00:47 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mbase/MStatusDisplay.cc
r8936 r8938 1049 1049 1050 1050 // Remove the canvas from the global list to make sure it is 1051 // not found by gROOT->FindOBject 1052 gROOT->GetListOfCanvases()->Remove(c); 1051 // not found by gROOT->FindObject 1052 //gROOT->GetListOfCanvases()->Remove(c); 1053 //gROOT->GetListOfCleanups()->Add(c); 1053 1054 1054 1055 return *c; … … 1081 1082 1082 1083 // Remove the canvas from the global list to make sure it is 1083 // not found by gROOT->FindOBject 1084 gROOT->GetListOfCanvases()->Remove(&c); 1084 // not found by gROOT->FindObject 1085 //gROOT->GetListOfCanvases()->Remove(&c); 1086 //gROOT->GetListOfCleanups()->Add(&c); 1085 1087 1086 1088 TGComboBox *box = (TGComboBox*)fList->FindWidget(kTabs); … … 1332 1334 if (!c) 1333 1335 return; 1336 1337 // Repair the "Workaround" being in the RecursiveRemove list 1338 // but not in a list checked by gROOT->FindObject 1339 //gROOT->GetListOfCleanups()->Remove(c); 1340 //gROOT->GetListOfCanvases()->Add(c); 1341 1342 // FIXME: Due to our workaround this is necessary for a successfull deletion 1343 //c->cd(); 1334 1344 1335 1345 const TString name(c->GetName());
Note:
See TracChangeset
for help on using the changeset viewer.