Restored the hPseudoBitmap hack for programs deleting the 1x1 bitmap
in memory DCs.
This commit is contained in:
parent
2ad1a94d28
commit
5faa5d74c3
|
@ -507,6 +507,7 @@ BOOL WINAPI DeleteObject( HGDIOBJ obj )
|
||||||
/* NOTE: No GDI_Release is necessary */
|
/* NOTE: No GDI_Release is necessary */
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
if (obj == hPseudoStockBitmap) return TRUE;
|
||||||
if (!(header = GDI_GetObjPtr( obj, MAGIC_DONTCARE ))) return FALSE;
|
if (!(header = GDI_GetObjPtr( obj, MAGIC_DONTCARE ))) return FALSE;
|
||||||
|
|
||||||
TRACE("%04x\n", obj );
|
TRACE("%04x\n", obj );
|
||||||
|
|
Loading…
Reference in New Issue