[comctl32]

- merge r53027 that missed the merge from themes branch
- fixes floods of debug output by CombineRgn

svn path=/trunk/; revision=54230
This commit is contained in:
Giannis Adamopoulos
2011-10-22 11:35:13 +00:00
parent 0835a3801d
commit db3c333ce8
+1 -1
View File
@@ -10359,7 +10359,7 @@ static BOOL LISTVIEW_NCPaint(const LISTVIEW_INFO *infoPtr, HRGN region)
cliprgn = CreateRectRgn (r.left + cxEdge, r.top + cyEdge,
r.right - cxEdge, r.bottom - cyEdge);
if (region != (HRGN)1)
if (region > (HRGN)1)
CombineRgn (cliprgn, cliprgn, region, RGN_AND);
OffsetRect(&r, -r.left, -r.top);