Changeset 4513 for trunk/MagicSoft/Mars/mmain
- Timestamp:
- 08/05/04 15:03:07 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mmain/MBrowser.cc
r3069 r4513 137 137 138 138 const TGPicture *pic0 = fList->GetPicture("magic_t.xpm"); 139 if ( !pic0)139 if (pic0) 140 140 { 141 dir->GetListBox()->Resize(100, 150); 141 142 TGTreeLBEntry *entry = new TGTreeLBEntry(dir->GetListBox()->GetContainer(), 142 143 new TGString("/data/MAGIC"), pic0, 6000, … … 144 145 TGLayoutHints *laylb = new TGLayoutHints(kLHintsLeft|kLHintsTop, 14, 0, 0, 0); 145 146 dir->AddEntry(entry, laylb); 146 // Not enecessary - deleted in ~TGLBContainer: fList->Add(laylb);147 fList->Add(entry);147 // Not necessary - deleted in ~TGLBContainer: fList->Add(laylb); 148 // fList->Add(laylb); 148 149 } 149 150
Note:
See TracChangeset
for help on using the changeset viewer.