]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - EVE/Reve/RGValuators.cxx
Merged EVE-dev-after-merge to EVE-dev into HEAD. Requires ROOT-5.17.04.
[u/mrichter/AliRoot.git] / EVE / Reve / RGValuators.cxx
index 7471e9c728e5444901960968b381f819bd9fc284..6f346907018c8714d601a83fc911ad281c098054 100644 (file)
@@ -81,7 +81,7 @@ void RGValuator::Build(Bool_t connect)
     TGCompositeFrame *labfr = 
       new TGHorizontalFrame(hf1, fLabelWidth, fNEHeight,
                            fLabelWidth != 0 ? kFixedSize : kFixedHeight);
-    fLabel = new TGLabel(labfr, GetName());
+    fLabel = new TGLabel(labfr, fName);
     labfr->AddFrame(fLabel, labh);
     hf1->AddFrame(labfr, labfrh);
   }
@@ -233,13 +233,13 @@ void RGDoubleValuator::Build(Bool_t connect)
   
   if(fLabelWidth > 0) {
     TGCompositeFrame *lf = new TGHorizontalFrame(hf1, fLabelWidth, fNEHeight, kFixedSize);
-    fLabel = new TGLabel(lf, GetName());
+    fLabel = new TGLabel(lf, fName);
     lf->AddFrame(fLabel, lh); 
     // add label frame to top horizontal frame
     TGLayoutHints* lfh = new TGLayoutHints(kLHintsLeft, 0,0,0,0);
     hf1->AddFrame(lf, lfh);
   } else {
-    fLabel = new TGLabel(hf1, GetName());
+    fLabel = new TGLabel(hf1, fName);
     hf1->AddFrame(fLabel, lh);  
   }