[Bug 5278] Edit control redraws its background incorrectly in 16-bit app

Wine Bugs wine-bugs at winehq.org
Tue May 23 07:48:37 CDT 2006


saulius.krasuckas at elst.vtu.lt changed:

           What    |Removed                     |Added
                 CC|                            |hallo at michael-kaufmann.ch
           Keywords|                            |regression

------- Additional Comments From saulius.krasuckas at 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.

More information about the wine-bugs mailing list