Use ReleaseDC instead of DeleteDC on DC handle.
This commit is contained in:
parent
98e33334ae
commit
52cf1851b8
|
@ -339,7 +339,7 @@ HEADER_DrawItem (HWND hwnd, HDC hdc, INT iItem, BOOL bHotTrack)
|
|||
}
|
||||
|
||||
DeleteObject(hClipRgn);
|
||||
DeleteDC(hClipDC);
|
||||
ReleaseDC(hwnd, hClipDC);
|
||||
}
|
||||
|
||||
if (((phdi->fmt & HDF_STRING)
|
||||
|
|
Loading…
Reference in New Issue