Added DC object type to the list of valid objects that can be deleted

by DeleteObject32.
This commit is contained in:
Cliff Wright 1998-10-10 13:00:29 +00:00 committed by Alexandre Julliard
parent c0d52e0688
commit 105dc76b92
1 changed files with 1 additions and 0 deletions

View File

@ -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;