Changeset 2421 for trunk/src/user32/new/win32wbase.cpp
- Timestamp:
- Jan 12, 2000, 6:37:29 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/new/win32wbase.cpp
r2418 r2421 1 /* $Id: win32wbase.cpp,v 1.3 6 2000-01-12 15:14:16 sandervlExp $ */1 /* $Id: win32wbase.cpp,v 1.37 2000-01-12 17:37:29 cbratschi Exp $ */ 2 2 /* 3 3 * Win32 Window Base Class for OS/2 … … 1034 1034 RECT client = rectClient; 1035 1035 1036 //CB: bug in dc.cpp!!!1037 if ((rect.left == rect.right) || (rect.bottom == rect.top)) return 0;1038 1036 mapWin32Rect(getParent() ? getParent()->getOS2WindowHandle():OSLIB_HWND_DESKTOP,OS2HwndFrame,&client); 1039 1037 if ((rect.left >= client.left) && (rect.left < client.right) && … … 1042 1040 (rect.bottom >= client.top) && (rect.bottom < client.bottom)) 1043 1041 return 0; 1042 1044 1043 hrgn = CreateRectRgnIndirect(&rect); 1045 1044 if (!hrgn) return 0; 1046 //CB: bug in GetDCEx with region!!! 1047 rc = SendInternalMessageA(WM_NCPAINT,/*hrgn*/0,0); 1048 //dprintf(("CB: %d %d %d %d",rect.left,rect.top,rect.bottom,rect.right)); 1045 rc = SendInternalMessageA(WM_NCPAINT,hrgn,0); 1049 1046 DeleteObject(hrgn); 1050 //CB: todo: check if intersection with client, what does PM's frame???1051 1047 1052 1048 return rc;
Note:
See TracChangeset
for help on using the changeset viewer.