dlls/comctl32/rebar.c

Ge van Geldorp gvg at reactos.com
Sat May 1 16:31:20 CDT 2004


This fixes repainting of the toolbars in AbiWord when the main window is
resized.

Changelog:
  Ge van Geldorp <gvg at reactos.com>
  Always reset AUTO_RESIZE flag on exit from REBAR_ForceResize

Index: dlls/comctl32/rebar.c
===================================================================
RCS file: /home/wine/wine/dlls/comctl32/rebar.c,v
retrieving revision 1.92
diff -u -r1.92 rebar.c
--- dlls/comctl32/rebar.c	14 Apr 2004 04:27:16 -0000	1.92
+++ dlls/comctl32/rebar.c	1 May 2004 21:28:26 -0000
@@ -1276,6 +1276,7 @@
 	x, y, width, height);
     SetWindowPos (infoPtr->hwndSelf, 0, x, y, width, height,
 		    SWP_NOZORDER);
+    infoPtr->fStatus &= ~AUTO_RESIZE;
 }
 
 
@@ -4484,7 +4485,6 @@
 	infoPtr->fStatus |= BAND_NEEDS_LAYOUT;
 
     REBAR_Layout (infoPtr, &rcClient, TRUE, TRUE);
-    infoPtr->fStatus &= ~AUTO_RESIZE;
 
     return 0;
 }



More information about the wine-patches mailing list