Ignore:
Timestamp:
04/20/03 12:51:47 (22 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mmain/MStatusDisplay.cc

    r1965 r1966  
    372372    txt += cont.GetTitle();
    373373
    374     cout << txt << endl;
    375 
    376374    SetStatusLine2(txt);
    377375}
     
    552550
    553551    // layout and map new tab
     552#if ROOT_VERSION_CODE < ROOT_VERSION(3,03,00)
     553    MapSubwindows();
     554    Layout();
     555#else
    554556    Layout();
    555557    MapSubwindows();
     558#endif
    556559
    557560    // display new tab in the main frame
     
    804807        return kTRUE;
    805808
    806     if (timer==&fTimer)
    807     {
    808         TGCompositeFrame *f=fTab->GetCurrentContainer();
    809         if (f!=fLogBox)
    810             return kTRUE;
    811 
    812         UpdateTab(f);
    813         return kTRUE;
    814     }
     809    // Update a canvas tab (if visible)
     810    if (timer==&fTimer && c!=fLogIdx)
     811    {
     812        UpdateTab(fTab->GetCurrentContainer());
     813        return kTRUE;
     814    }
     815
     816    // update the logbook tab (if visible)
    815817    if (timer==&fLogTimer && c==fLogIdx)
    816818    {
Note: See TracChangeset for help on using the changeset viewer.