- Timestamp:
- Oct 16, 2001, 4:49:46 PM (24 years ago)
- Location:
- trunk/src/user32
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/menu.cpp
r6773 r7079 1 /* $Id: menu.cpp,v 1.3 7 2001-09-20 12:57:15 sandervl Exp $*/1 /* $Id: menu.cpp,v 1.38 2001-10-16 14:49:45 sandervl Exp $*/ 2 2 /* 3 3 * Menu functions … … 198 198 static BOOL isTimerSet = FALSE; 199 199 200 #ifdef __WIN32OS2__ 201 static BOOL fDisableOdinSysMenuItems = FALSE; 202 #endif 203 200 204 /*********************************************************************** 201 205 * debug_print_menuitem … … 364 368 menu->wFlags |= MF_SYSMENU | MF_POPUP; 365 369 SetMenuDefaultItem(hMenu, SC_CLOSE, FALSE); 370 #ifdef __WIN32OS2__ 371 if(fDisableOdinSysMenuItems) { 372 RemoveMenu(hMenu, 9, MF_BYPOSITION); 373 RemoveMenu(hMenu, 9, MF_BYPOSITION); 374 RemoveMenu(hMenu, 9, MF_BYPOSITION); 375 RemoveMenu(hMenu, 9, MF_BYPOSITION); 376 RemoveMenu(hMenu, 9, MF_BYPOSITION); 377 } 378 #ifndef DEBUG 379 else { 380 RemoveMenu(hMenu, SC_PUTMARK, MF_BYCOMMAND); 381 RemoveMenu(hMenu, SC_DEBUGINT3, MF_BYCOMMAND); 382 RemoveMenu(hMenu, 11, MF_BYPOSITION); //separator 383 } 384 #endif 385 #endif 366 386 } 367 387 else { … … 4882 4902 //****************************************************************************** 4883 4903 //****************************************************************************** 4884 4904 #ifdef __WIN32OS2__ 4905 void DisableOdinSysMenuItems() 4906 { 4907 fDisableOdinSysMenuItems = TRUE; 4908 } 4909 //****************************************************************************** 4910 //****************************************************************************** 4911 #endif -
trunk/src/user32/oslibres.cpp
r7063 r7079 1 /* $Id: oslibres.cpp,v 1.2 5 2001-10-15 17:09:03sandervl Exp $ */1 /* $Id: oslibres.cpp,v 1.26 2001-10-16 14:49:46 sandervl Exp $ */ 2 2 /* 3 3 * Window API wrappers for OS/2 … … 308 308 if(lHits == GPI_ERROR) goto fail; 309 309 310 // DEBUG_CURSOR310 //#define DEBUG_CURSOR 311 311 #ifdef DEBUG_CURSOR 312 312 { … … 457 457 } 458 458 if(hbmColor) { 459 dprintf2(("OSLibWinCreatePointer: using real color cursor/icon "));460 } 461 else dprintf2(("OSLibWinCreatePointer: converted color cursor/icon to mono "));459 dprintf2(("OSLibWinCreatePointer: using real color cursor/icon (fCursor %d)", fCursor)); 460 } 461 else dprintf2(("OSLibWinCreatePointer: converted color cursor/icon to mono (fCursor %d)", fCursor)); 462 462 } 463 463 … … 504 504 } 505 505 506 pointerInfo.fPointer = fCursor; //FALSE = icon506 pointerInfo.fPointer = !fCursor; //TRUE = icon 507 507 pointerInfo.xHotspot = pInfo->ptHotSpot.x; 508 508 pointerInfo.yHotspot = mapY(pInfo->nHeight, pInfo->ptHotSpot.y);
Note:
See TracChangeset
for help on using the changeset viewer.