PropSheet: Always Redraw Dialog on Switching Pages

Robert Shearman rob at codeweavers.com
Mon Jul 26 04:53:33 CDT 2004


Changelog:
Always redraw dialog on changing between pages.

-------------- next part --------------
Index: wine/dlls/comctl32/propsheet.c
===================================================================
RCS file: /home/wine/wine/dlls/comctl32/propsheet.c,v
retrieving revision 1.102
diff -u -r1.102 propsheet.c
--- wine/dlls/comctl32/propsheet.c	21 Jul 2004 21:17:59 -0000	1.102
+++ wine/dlls/comctl32/propsheet.c	26 Jul 2004 09:47:27 -0000
@@ -1635,10 +1635,10 @@
 	  ShowWindow(hwndLineHeader, SW_HIDE);
       else
 	  ShowWindow(hwndLineHeader, SW_SHOW);
-
-      InvalidateRgn(hwndDlg, NULL, TRUE);
-      UpdateWindow(hwndDlg);
   }
+
+  InvalidateRgn(hwndDlg, NULL, TRUE);
+  UpdateWindow(hwndDlg);
 
   return TRUE;
 }


More information about the wine-patches mailing list