Changeset 4596 for trunk/src/gdi32/objhandle.cpp
- Timestamp:
- Nov 15, 2000, 2:56:46 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/gdi32/objhandle.cpp
r4533 r4596 1 /* $Id: objhandle.cpp,v 1. 5 2000-10-26 17:20:29sandervl Exp $ */1 /* $Id: objhandle.cpp,v 1.6 2000-11-15 13:56:45 sandervl Exp $ */ 2 2 /* 3 3 * Win32 Handle Management Code for OS/2 … … 19 19 #include <vmutex.h> 20 20 #include <objhandle.h> 21 #include <dcdata.h> 22 #include <winuser32.h> 23 #include "oslibgpi.h" 21 24 #include "dibsect.h" 22 25 #include "region.h" … … 217 220 218 221 if(ObjGetHandleType(hObj) == GDIOBJ_REGION) { 219 //Return complexity here; not previously selected clip region222 //Return complexity here; not previously selected clip region 220 223 return (HGDIOBJ)SelectClipRgn(hdc, hObj); 221 224 } … … 246 249 } 247 250 } 251 #ifdef USING_OPEN32 252 if(O32_GetObjectType(hObj) == OBJ_BITMAP) 253 { 254 //SvL: Open32 messes up the height of the hdc (for windows) 255 pDCData pHps = (pDCData)OSLibGpiQueryDCData((HPS)hdc); 256 if(pHps && pHps->hwnd) { 257 dprintf2(("change back origin")); 258 selectClientArea(pHps); 259 setPageXForm(pHps); 260 } 261 } 262 #endif 263 dprintf2(("GDI32: SelectObject %x %x returned %x", hdc, hObj, rc)); 264 248 265 return(rc); 249 266 }
Note:
See TracChangeset
for help on using the changeset viewer.