http://bugs.winehq.org/show_bug.cgi?id=12572 --- Comment #6 from Nikolay Sivov <bunglehead(a)gmail.com> 2009-10-16 17:54:37 --- Created an attachment (id=24174) --> (http://bugs.winehq.org/attachment.cgi?id=24174) treeview background fill fix Hi, Dan. I think I found after several hours a reason while background isn't updated. For subclassed controls (like in this application) it's ok not to forward WM_ERASEBKGND to original window procedure, instead only WM_PAINT is forwarded with NULL wParam which leads to BeginPaint/EndPaint sequence. After that returned PAINTSTRUCT contains not zero fErase field - it means we need to fill background before making main WM_PAINT painting. This fact currently is completely ignored for Wine common controls: http://bugs.winehq.org/show_bug.cgi?id=11424 http://bugs.winehq.org/show_bug.cgi?id=12123 These seem to be duplicates actually. Same behaviour should logically apply to ListView and others: http://bugs.winehq.org/show_bug.cgi?id=6716 Please test this patch on current wine-1.1.31-272-g8c743cb. For me it fixes at least this application. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.