[Wine-patches] [eter-2.1] Revert "user32: Force redrawing of all children (eterbug #10584)."

Dmitry Timoshkov dtimoshkov на etersoft.ru
Ср Июл 1 19:32:28 MSK 2015


This reverts commit 9d762615a088b16f52c544c00defd579a3f1dba9.
---
 dlls/user32/painting.c | 12 ------------
 1 file changed, 12 deletions(-)

diff --git a/dlls/user32/painting.c b/dlls/user32/painting.c
index 4861c76..8abf7ab 100644
--- a/dlls/user32/painting.c
+++ b/dlls/user32/painting.c
@@ -1585,20 +1585,8 @@ static INT scroll_window( HWND hwnd, INT dx, INT dy, const RECT *rect, const REC
     }
 
     if( flags & (SW_INVALIDATE | SW_ERASE) )
-    {
-        /* eterhack: force redrawing of all children (eterbug #10584) */
-        char class[80];
-        GetClassNameA(hwnd, class, sizeof(class));
-        if (!strcmp(class, "V8FormElement"))
-        {
-            GetRgnBox(hrgnUpdate, &rc);
-            WARN("force redrawing of all children: %s\n", wine_dbgstr_rect(&rc));
-            RedrawWindow( hwnd, &rc, NULL, rdw_flags | RDW_ALLCHILDREN );
-        }
-        else
         RedrawWindow( hwnd, NULL, hrgnUpdate, rdw_flags |
                       ((flags & SW_SCROLLCHILDREN) ? RDW_ALLCHILDREN : 0 ) );
-    }
 
     if( hrgnWinupd) {
         CombineRgn( hrgnUpdate, hrgnUpdate, hrgnWinupd, RGN_OR);
-- 
2.4.5



Подробная информация о списке рассылки Wine-patches