Added DC object type to the list of valid objects that can be deleted
by DeleteObject32.
This commit is contained in:
parent
c0d52e0688
commit
105dc76b92
|
@ -366,6 +366,7 @@ BOOL32 WINAPI DeleteObject32( HGDIOBJ32 obj )
|
|||
case PALETTE_MAGIC: return PALETTE_DeleteObject(obj,(PALETTEOBJ*)header);
|
||||
case BITMAP_MAGIC: return BITMAP_DeleteObject( obj, (BITMAPOBJ*)header);
|
||||
case REGION_MAGIC: return REGION_DeleteObject( obj, (RGNOBJ*)header );
|
||||
case DC_MAGIC: return DeleteDC32(obj);
|
||||
case 0 :
|
||||
WARN(gdi, "Already deleted\n");
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue