Changeset 6824


Ignore:
Timestamp:
03/15/05 17:52:23 (20 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r6821 r6824  
    4343       really obsolete
    4444
     45   * mbase/MGMenu.[h,cc]:
     46     - make fix fix also compile root 3.10.02
     47
    4548
    4649
     
    4952   * mbase/MGMenu.h:
    5053     - added a fix for root 4.02.00
     54
    5155
    5256
  • trunk/MagicSoft/Mars/mbase/MGMenu.cc

    r2494 r6824  
    185185Bool_t MGMenuBar::HandleKey(Event_t *event)
    186186{
     187#if ROOT_VERSION_CODE < ROOT_VERSION(4,02,00)
    187188    //
    188189    // If this isn't a pressed key do nothing
     
    222223        return kTRUE;
    223224    }
     225#endif
    224226
    225227    return TGMenuBar::HandleKey(event);
    226228}
     229
     230void MGMenuBar::BindKeys(Bool_t b)
     231{
     232#if ROOT_VERSION_CODE >= ROOT_VERSION(4,02,00)
     233    TGMenuBar::BindKeys(b);
     234#endif
     235}  // root>=4.02.00
  • trunk/MagicSoft/Mars/mbase/MGMenu.h

    r6818 r6824  
    4747
    4848    void BindKeys(TGMainFrame *frame);                   // root<=3.10.02
    49     void BindKeys(Bool_t b) { TGMenuBar::BindKeys(b); }  // root>=4.02.00
     49    void BindKeys(Bool_t b);
    5050
    5151    Bool_t HandleKey(Event_t *event);
  • trunk/MagicSoft/Mars/mpedestal/MExtractPedestal.cc

    r6821 r6824  
    442442  if (fExtractor)
    443443  {
    444     if (!fExtractor->ReInit(pList))
     444    if (!((MTask*)fExtractor)->ReInit(pList))
    445445        return kFALSE;
    446446
Note: See TracChangeset for help on using the changeset viewer.