http://bugs.winehq.org/show_bug.cgi?id=30923
--- Comment #5 from Dan Kegel dank@kegel.com 2012-06-15 21:58:12 CDT --- WINEDEBUG=+relay,+gdi,+region,+clipping log shows:
left 3 top 63 rite 487 bot 267 0009:Call gdi32.CreateRectRgn(00000003,0000003f,000001e7,0000010b) ret=1001bb0d 0009:Call gdi32.SelectClipRgn(00000658,000006a8) ret=10264bb0 0009:Call gdi32.CreatePen(00000000,00000001,00fb0201) ret=10238fb8 trace:gdi:CreatePen 0 1 fb0201 0009:Call gdi32.CreateSolidBrush(00fb0201) ret=10238f01 trace:gdi:CreateSolidBrush fb0201 trace:gdi:Polyline Polyline points: (3,366) (486,366)
left 3 top 265 rite 487 bot 469 0009:Call gdi32.CreateRectRgn(00000003,00000109,000001e7,000001d5) ret=1001bb0d 0009:Call gdi32.SelectClipRgn(00000658,000006d4) ret=10264bb0 trace:gdi:Polyline Polyline points: (3,305) (486,305)
It seems that the first SelectClipRgn (left 3 top 63 rite 487 bot 267) was ignored, else the line at Y=366 would not have been drawn?