Changeset 4981
- Timestamp:
- 09/13/04 14:43:20 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mbase/MStatusArray.cc
r4966 r4981 61 61 delete d; 62 62 return 0; 63 }64 65 TCanvas *MStatusArray::FindCanvas(const char *name) const66 {67 TObject *o = TObjArray::FindObject(name);68 return o->InheritsFrom(TCanvas::Class()) ? (TCanvas*)o : 0;69 63 } 70 64 … … 135 129 } 136 130 131 TCanvas *MStatusArray::FindCanvas(const char *name) const 132 { 133 TObject *o = TObjArray::FindObject(name); 134 if (!o) 135 return 0; 136 137 return o->InheritsFrom(TCanvas::Class()) ? (TCanvas*)o : 0; 138 } 139 140 137 141 TObject *MStatusArray::FindObjectInCanvas(const char *object, const char *base, const char *canvas) const 138 142 {
Note:
See TracChangeset
for help on using the changeset viewer.