Changeset 2209 for trunk/MagicSoft/Mars/mbase
- Timestamp:
- 06/23/03 12:09:05 (22 years ago)
- Location:
- trunk/MagicSoft/Mars/mbase
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mbase/MEvtLoop.cc
r2206 r2209 180 180 } 181 181 #endif 182 183 void MEvtLoop::SetDisplay(MStatusDisplay *d) 184 { 185 MParContainer::SetDisplay(d); 186 if (!d) 187 { 188 fProgress=NULL; 189 return; 190 } 191 192 d->SetBit(kMustCleanup); 193 if (fParList) 194 fParList->SetDisplay(d); 195 } 182 196 183 197 // -------------------------------------------------------------------------- … … 933 947 934 948 if (obj==fDisplay) 935 {936 if (fParList)937 fParList->SetDisplay(NULL);938 949 SetDisplay(NULL); 939 fProgress = NULL;940 }941 950 942 951 if (obj==fLog) -
trunk/MagicSoft/Mars/mbase/MEvtLoop.h
r2206 r2209 51 51 52 52 MStatusDisplay *GetDisplay() { return fDisplay; } 53 void SetDisplay(MStatusDisplay *d); 53 54 54 55 void SetOwner(Bool_t enable=kTRUE);
Note:
See TracChangeset
for help on using the changeset viewer.