Commit 105dc76b authored by Cliff Wright's avatar Cliff Wright Committed by Alexandre Julliard

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

by DeleteObject32.
parent c0d52e06
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment