Nikolay Sivov : comctl32/rebar: Use defined constants as parameters.

Alexandre Julliard julliard at winehq.org
Mon Jun 7 10:02:29 CDT 2010


Module: wine
Branch: master
Commit: fb1d5310ad22af0f01f5ce26fd648b0ccb643571
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=fb1d5310ad22af0f01f5ce26fd648b0ccb643571

Author: Nikolay Sivov <nsivov at codeweavers.com>
Date:   Mon Jun  7 12:44:38 2010 +0400

comctl32/rebar: Use defined constants as parameters.

---

 dlls/comctl32/rebar.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/dlls/comctl32/rebar.c b/dlls/comctl32/rebar.c
index 7a2995c..c254e34 100644
--- a/dlls/comctl32/rebar.c
+++ b/dlls/comctl32/rebar.c
@@ -2452,7 +2452,7 @@ REBAR_InsertBandT(REBAR_INFO *infoPtr, INT iIndex, LPREBARBANDINFOW lprbbi, BOOL
     REBAR_DumpBand (infoPtr);
 
     REBAR_Layout(infoPtr);
-    InvalidateRect(infoPtr->hwndSelf, 0, TRUE);
+    InvalidateRect(infoPtr->hwndSelf, NULL, TRUE);
 
     return TRUE;
 }
@@ -2653,7 +2653,7 @@ REBAR_SetBandInfoT(REBAR_INFO *infoPtr, INT iBand, LPREBARBANDINFOW lprbbi, BOOL
 
     if (uChanged & (RBBIM_CHILDSIZE | RBBIM_SIZE | RBBIM_STYLE | RBBIM_IMAGE)) {
 	  REBAR_Layout(infoPtr);
-	  InvalidateRect(infoPtr->hwndSelf, 0, 1);
+	  InvalidateRect(infoPtr->hwndSelf, NULL, TRUE);
     }
 
     return TRUE;
@@ -2798,7 +2798,7 @@ REBAR_ShowBand (REBAR_INFO *infoPtr, INT iBand, BOOL show)
     }
 
     REBAR_Layout(infoPtr);
-    InvalidateRect(infoPtr->hwndSelf, 0, 1);
+    InvalidateRect(infoPtr->hwndSelf, NULL, TRUE);
 
     return TRUE;
 }
@@ -3399,7 +3399,7 @@ REBAR_SetRedraw (REBAR_INFO *infoPtr, BOOL redraw)
 	if (infoPtr->fStatus & BAND_NEEDS_REDRAW) {
 	    REBAR_MoveChildWindows (infoPtr, 0, infoPtr->uNumBands);
 	    REBAR_ForceResize (infoPtr);
-	    InvalidateRect (infoPtr->hwndSelf, 0, TRUE);
+	    InvalidateRect (infoPtr->hwndSelf, NULL, TRUE);
 	}
 	infoPtr->fStatus &= ~BAND_NEEDS_REDRAW;
     }




More information about the wine-cvs mailing list