- Timestamp:
- Oct 18, 2001, 1:02:22 PM (24 years ago)
- Location:
- trunk/src/user32
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/oslibres.cpp
r7079 r7107 1 /* $Id: oslibres.cpp,v 1.2 6 2001-10-16 14:49:46sandervl Exp $ */1 /* $Id: oslibres.cpp,v 1.27 2001-10-18 11:02:22 sandervl Exp $ */ 2 2 /* 3 3 * Window API wrappers for OS/2 … … 281 281 HAB hab; 282 282 283 dprintf2(("Convert color bitmap to mono (%d,%d) %d", pBmpDest->cx, pBmpDest->cy, pBmpDest->cBitCount)); 284 283 285 hab = GetThreadHAB(); 284 286 … … 445 447 goto fail; 446 448 } 447 if( pXorBmp->bmBitsPixel >= 8)449 if(fCursor && pXorBmp->bmBitsPixel >= 8) 448 450 { 449 451 if(isMonoBitmap(pXorBmp, (PBYTE)os2rgb) == TRUE) … … 504 506 } 505 507 506 pointerInfo.fPointer = !fCursor; //TRUE = icon508 pointerInfo.fPointer = fCursor; //FALSE = icon 507 509 pointerInfo.xHotspot = pInfo->ptHotSpot.x; 508 510 pointerInfo.yHotspot = mapY(pInfo->nHeight, pInfo->ptHotSpot.y); 509 511 pointerInfo.hbmColor = hbmColor; 510 512 pointerInfo.hbmPointer = hbmMask; 513 dprintf2(("WinCreatePointerIndirect %d (%d,%d) (org %d,%d)", pointerInfo.fPointer, pointerInfo.xHotspot, pointerInfo.yHotspot, pInfo->ptHotSpot.x, pInfo->ptHotSpot.y)); 511 514 hPointer = WinCreatePointerIndirect(HWND_DESKTOP, &pointerInfo); 512 515 -
trunk/src/user32/win32wbase.cpp
r7097 r7107 1 /* $Id: win32wbase.cpp,v 1.29 2 2001-10-17 15:16:57 phallerExp $ */1 /* $Id: win32wbase.cpp,v 1.293 2001-10-18 11:02:22 sandervl Exp $ */ 2 2 /* 3 3 * Win32 Window Base Class for OS/2 … … 3636 3636 dprintf(("SetWindowLong GWL_STYLE %x old %x new style %x (%x)", getWindowHandle(), dwStyle, value)); 3637 3637 #ifdef DEBUG 3638 if((value & WS_CHILD) != (dwStyle & WS_CHILD)) {3639 DebugInt3(); //is this allowed?3640 }3638 // if((value & WS_CHILD) != (dwStyle & WS_CHILD)) { 3639 // DebugInt3(); //is this allowed? 3640 // } 3641 3641 #endif 3642 3642 value &= ~(WS_CHILD);
Note:
See TracChangeset
for help on using the changeset viewer.