From dc4a7033eae17c48fbb9bcbfe2829047a9f4b05c Mon Sep 17 00:00:00 2001 From: Konstantin Kondratyuk Date: Fri, 16 Apr 2010 13:02:34 +0400 Subject: [PATCH 2/2] comctl32: Fill in a bitmap white in CreateDragImage --- dlls/comctl32/treeview.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/dlls/comctl32/treeview.c b/dlls/comctl32/treeview.c index 4551bd0..c659a43 100644 --- a/dlls/comctl32/treeview.c +++ b/dlls/comctl32/treeview.c @@ -4290,6 +4290,8 @@ TREEVIEW_CreateDragImage(TREEVIEW_INFO *infoPtr, LPARAM lParam) hbmp = CreateCompatibleBitmap(htopdc, size.cx, size.cy); hOldbmp = SelectObject(hdc, hbmp); + PatBlt(hdc, 0, 0, size.x, size.y, WHITENESS); + infoPtr->dragList = ImageList_Create(size.cx, size.cy, ILC_COLOR, 10, 10); ImageList_Draw(infoPtr->himlNormal, dragItem->iImage, hdc, 0, 0, ILD_NORMAL); -- 1.6.5.8