Ignore:
Timestamp:
06/21/08 14:56:03 (16 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

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

    r8962 r8986  
    172172     // Name and title handling
    173173     virtual void SetName(const char *name) { fName = name; }
    174      virtual void SetTitle(const char *title="") { fTitle = title; }
     174     virtual void SetTitle(const char *title="") { SetTitle(title, kTRUE); }
    175175     virtual const char *GetName() const { return fName.Data(); }
    176176     virtual const char *GetTitle() const { return fTitle.Data(); }
     177
     178     virtual void SetTitle(const char *title, Bool_t replace)
     179     {
     180         if (fTitle.IsNull() || replace) fTitle = title;
     181     }
    177182
    178183     // Getter / display access
Note: See TracChangeset for help on using the changeset viewer.