Ignore:
Timestamp:
06/12/08 14:00:47 (17 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mbase/MStatusDisplay.cc

    r8936 r8938  
    10491049
    10501050        // 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);
    10531054
    10541055        return *c;
     
    10811082
    10821083    // 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);
    10851087
    10861088    TGComboBox *box = (TGComboBox*)fList->FindWidget(kTabs);
     
    13321334    if (!c)
    13331335        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();
    13341344
    13351345    const TString name(c->GetName());
Note: See TracChangeset for help on using the changeset viewer.