Gerald Pfeifer : comctl32: Remove unused parameter bEnable from LISTVIEW_Enable.

Alexandre Julliard julliard at winehq.org
Tue May 11 12:09:37 CDT 2010


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

Author: Gerald Pfeifer <gerald at pfeifer.com>
Date:   Sun May  9 15:06:02 2010 +0200

comctl32: Remove unused parameter bEnable from LISTVIEW_Enable.

---

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

diff --git a/dlls/comctl32/listview.c b/dlls/comctl32/listview.c
index 9acf930..d9fb17f 100644
--- a/dlls/comctl32/listview.c
+++ b/dlls/comctl32/listview.c
@@ -9373,7 +9373,7 @@ static LRESULT LISTVIEW_Destroy(LISTVIEW_INFO *infoPtr)
  *   SUCCESS : TRUE
  *   FAILURE : FALSE
  */
-static BOOL LISTVIEW_Enable(const LISTVIEW_INFO *infoPtr, BOOL bEnable)
+static BOOL LISTVIEW_Enable(const LISTVIEW_INFO *infoPtr)
 {
     if (infoPtr->dwStyle & LVS_OWNERDRAWFIXED)
         InvalidateRect(infoPtr->hwndSelf, NULL, TRUE);
@@ -11405,7 +11405,7 @@ LISTVIEW_WindowProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
     return LISTVIEW_Destroy(infoPtr);
 
   case WM_ENABLE:
-    return LISTVIEW_Enable(infoPtr, (BOOL)wParam);
+    return LISTVIEW_Enable(infoPtr);
 
   case WM_ERASEBKGND:
     return LISTVIEW_EraseBkgnd(infoPtr, (HDC)wParam);




More information about the wine-cvs mailing list