Changeset 2696 in kBuild
- Timestamp:
- Sep 9, 2013 3:20:20 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/VSlickMacros/kdev.e
r2685 r2696 89 89 //#pragma option(strict,on) 90 90 /*#else: Version 4.0 (OS/2) */ 91 #endif 92 93 #ifndef __MACOSX__ 94 #define KDEV_WITH_MENU 91 95 #endif 92 96 … … 2985 2989 * Menu and Menu commands * 2986 2990 *******************************************************************************/ 2991 #ifdef KDEV_WITH_MENU 2992 #if __VERSION__ < 18.0 /* Something with timers are busted, so excusing my code. */ 2987 2993 static int iTimer = 0; 2994 #endif 2988 2995 static int mhkDev = 0; 2989 2996 static int mhCode = 0; … … 2997 3004 static k_menu_create() 2998 3005 { 3006 # if __VERSION__ < 18.0 /* Something with timers are busted, so excusing my code. */ 2999 3007 if (arg(1) == 'timer') 3000 3008 _kill_timer(iTimer); 3009 # endif 3001 3010 menu_handle = _mdi.p_menu_handle; 3002 3011 menu_index = find_index(_cur_mdi_menu,oi2type(OI_MENU)); … … 3258 3267 } 3259 3268 */ 3269 3270 3271 #endif /* KDEV_WITH_MENU */ 3260 3272 3261 3273 … … 3660 3672 /* do init */ 3661 3673 k_styles_create(); 3674 #ifdef KDEV_WITH_MENU 3662 3675 k_menu_create(); 3676 # if __VERSION__ < 18.0 /* Something with timers are busted, so excusing my code. */ 3663 3677 iTimer = _set_timer(1000, k_menu_create, "timer"); 3678 # endif 3664 3679 /* createMyColorSchemeAndUseIt();*/ 3665 } 3666 3680 #endif 3681 } 3682
Note:
See TracChangeset
for help on using the changeset viewer.