Restored the hPseudoBitmap hack for programs deleting the 1x1 bitmap

in memory DCs.
This commit is contained in:
Gerard Patel 2000-08-25 21:54:23 +00:00 committed by Alexandre Julliard
parent 2ad1a94d28
commit 5faa5d74c3
1 changed files with 1 additions and 0 deletions

View File

@ -507,6 +507,7 @@ BOOL WINAPI DeleteObject( HGDIOBJ obj )
/* NOTE: No GDI_Release is necessary */
return TRUE;
}
if (obj == hPseudoStockBitmap) return TRUE;
if (!(header = GDI_GetObjPtr( obj, MAGIC_DONTCARE ))) return FALSE;
TRACE("%04x\n", obj );