[Bug 5278] Edit control redraws its background incorrectly in 16-bit app
http://bugs.winehq.org/show_bug.cgi?id=5278 saulius.krasuckas(a)elst.vtu.lt changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hallo(a)michael-kaufmann.ch Keywords| |regression ------- Additional Comments From saulius.krasuckas(a)elst.vtu.lt 2006-23-05 07:48 ------- Inserting some old code works around the regression: --- a/dlls/user/edit.c +++ b/dlls/user/edit.c @@ -4847,6 +4847,8 @@ static void EDIT_WM_Paint(EDITSTATE *es, if(es->style & WS_HSCROLL) rc.bottom+=bh; if(es->style & WS_VSCROLL) rc.right+=bw; } + SelectObject(dc, brush); + Rectangle(dc, rc.left, rc.top, rc.right, rc.bottom); /* Draw the frame. Same code as in nonclient.c */ old_brush = SelectObject(dc, GetSysColorBrush(COLOR_WINDOWFRAME)); -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
participants (1)
-
Wine Bugs