https://bugs.winehq.org/show_bug.cgi?id=42566
Bug ID: 42566 Summary: Edit control uses WM_PAINT instead of WM_ERASEBKGND Product: Wine Version: 2.0 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: user32 Assignee: wine-bugs@winehq.org Reporter: james.tabor@reactos.org Distribution: ---
Created attachment 57478 --> https://bugs.winehq.org/attachment.cgi?id=57478 Test Program
In Windows, the edit control uses the WM_ERASEBKGND message to erase the background but the Wine edit control uses the WM_PAINT message. Test app included..
https://bugs.winehq.org/show_bug.cgi?id=42566
James Tabor james.tabor@reactos.org changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |https://jira.reactos.org/br | |owse/CORE-12814
https://bugs.winehq.org/show_bug.cgi?id=42566
--- Comment #1 from Nikolay Sivov bunglehead@gmail.com --- Could you attach test case sources? Preferably for C/C++ application, instead of VB6 one.
https://bugs.winehq.org/show_bug.cgi?id=42566
--- Comment #2 from Nikolay Sivov bunglehead@gmail.com --- Created attachment 65943 --> https://bugs.winehq.org/attachment.cgi?id=65943 patch
Confirming. Attached patch makes it look better. Remaining issue that text area should be erased regardless, even with empty text. That's probably why erasing code was unusually merged with WM_PAINT originally. This needs more work.
https://bugs.winehq.org/show_bug.cgi?id=42566
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch