mirror of
https://github.com/reactos/reactos.git
synced 2024-07-01 02:10:07 +00:00
[COMCTL32] syslink: Don't free the return value of WM_CTLCOLORSTATIC. CORE-13605
-This is a bug in wine and should be sent upstream
This commit is contained in:
parent
fc6c07c385
commit
4a843c4e85
|
@ -791,7 +791,9 @@ static LRESULT SYSLINK_Draw (const SYSLINK_INFO *infoPtr, HDC hdc)
|
||||||
}
|
}
|
||||||
else SetBkMode( hdc, TRANSPARENT );
|
else SetBkMode( hdc, TRANSPARENT );
|
||||||
|
|
||||||
|
#ifndef __REACTOS__
|
||||||
DeleteObject(hBrush);
|
DeleteObject(hBrush);
|
||||||
|
#endif
|
||||||
|
|
||||||
LIST_FOR_EACH_ENTRY(Current, &infoPtr->Items, DOC_ITEM, entry)
|
LIST_FOR_EACH_ENTRY(Current, &infoPtr->Items, DOC_ITEM, entry)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue