Changeset 6824 for trunk/MagicSoft/Mars/mbase
- Timestamp:
- 03/15/05 17:52:23 (20 years ago)
- Location:
- trunk/MagicSoft/Mars/mbase
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mbase/MGMenu.cc
r2494 r6824 185 185 Bool_t MGMenuBar::HandleKey(Event_t *event) 186 186 { 187 #if ROOT_VERSION_CODE < ROOT_VERSION(4,02,00) 187 188 // 188 189 // If this isn't a pressed key do nothing … … 222 223 return kTRUE; 223 224 } 225 #endif 224 226 225 227 return TGMenuBar::HandleKey(event); 226 228 } 229 230 void 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 47 47 48 48 void BindKeys(TGMainFrame *frame); // root<=3.10.02 49 void BindKeys(Bool_t b) { TGMenuBar::BindKeys(b); } // root>=4.02.0049 void BindKeys(Bool_t b); 50 50 51 51 Bool_t HandleKey(Event_t *event);
Note:
See TracChangeset
for help on using the changeset viewer.