updown: correct class style

Huw D M Davies h.davies1 at physics.ox.ac.uk
Mon Mar 15 07:53:08 CST 2004


        Huw Davies <huw at codeweavers.com>
        Add CS_HREDRAW
-- 
Huw Davies
huw at codeweavers.com
Index: dlls/comctl32/updown.c
===================================================================
RCS file: /home/wine/wine/dlls/comctl32/updown.c,v
retrieving revision 1.56
diff -u -r1.56 updown.c
--- dlls/comctl32/updown.c	20 Nov 2003 22:04:13 -0000	1.56
+++ dlls/comctl32/updown.c	15 Mar 2004 13:49:54 -0000
@@ -948,7 +948,7 @@
     WNDCLASSW wndClass;
 
     ZeroMemory( &wndClass, sizeof( WNDCLASSW ) );
-    wndClass.style         = CS_GLOBALCLASS | CS_VREDRAW;
+    wndClass.style         = CS_GLOBALCLASS | CS_VREDRAW | CS_HREDRAW;
     wndClass.lpfnWndProc   = (WNDPROC)UpDownWindowProc;
     wndClass.cbClsExtra    = 0;
     wndClass.cbWndExtra    = sizeof(UPDOWN_INFO*);



More information about the wine-patches mailing list