Changeset 1265 for trunk/src/user32/oslibwin.cpp
- Timestamp:
- Oct 13, 1999, 4:24:49 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/oslibwin.cpp
r1263 r1265 1 /* $Id: oslibwin.cpp,v 1.2 5 1999-10-12 20:16:23sandervl Exp $ */1 /* $Id: oslibwin.cpp,v 1.26 1999-10-13 14:24:25 sandervl Exp $ */ 2 2 /* 3 3 * Window API wrappers for OS/2 … … 139 139 { 140 140 *OSFrameStyle |= FCF_SIZEBORDER; 141 *borderHeight = *borderWidth = 1; 142 141 *borderHeight = *borderWidth = 2; 143 142 } 144 143 else … … 579 578 void OSLibMapWINDOWPOStoSWP(PWINDOWPOS pwpos, PSWP pswp, PSWP pswpOld, HWND hParent, HWND hFrame) 580 579 { 580 BOOL fCvt = FALSE; 581 581 582 HWND hWnd = pwpos->hwnd; 582 583 HWND hWndInsertAfter = pwpos->hwndInsertAfter; … … 625 626 y = pswpOld->y; 626 627 627 //SvL: TEST628 #if 0629 628 if (!((y == 0) && (pswpOld->cy == 0))) 630 629 { 631 630 y = parentHeight - y - pswpOld->cy; 632 631 } 633 #endif634 632 } 635 633 … … 666 664 //****************************************************************************** 667 665 //****************************************************************************** 668 BOOL OSLibWinCalcFrameRect(HWND hwndFrame, RECTLOS2 *pRect, BOOL fClient) 669 { 670 return WinCalcFrameRect(hwndFrame, (PRECTL)pRect, fClient); 666 BOOL OSLibWinCalcFrameRect(HWND hwndFrame, RECT *pRect, BOOL fClient) 667 { 668 BOOL rc; 669 670 WinMapWindowPoints(hwndFrame, HWND_DESKTOP, (PPOINTL)pRect, 2); 671 672 rc = WinCalcFrameRect(hwndFrame, (PRECTL)pRect, fClient); 673 WinMapWindowPoints(HWND_DESKTOP, hwndFrame, (PPOINTL)pRect, 2); 674 675 return rc; 671 676 } 672 677 //******************************************************************************
Note:
See TracChangeset
for help on using the changeset viewer.