Gerald Pfeifer : comctl32: Shed unused parameter from TOOLTIPS_NCCreate.

Alexandre Julliard julliard at winehq.org
Mon Jan 3 10:58:01 CST 2011


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

Author: Gerald Pfeifer <gerald at pfeifer.com>
Date:   Sat Jan  1 14:33:20 2011 +0100

comctl32: Shed unused parameter from TOOLTIPS_NCCreate.

---

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

diff --git a/dlls/comctl32/tooltips.c b/dlls/comctl32/tooltips.c
index 774387a..a2e58e0 100644
--- a/dlls/comctl32/tooltips.c
+++ b/dlls/comctl32/tooltips.c
@@ -1937,7 +1937,7 @@ TOOLTIPS_MouseMessage (TOOLTIPS_INFO *infoPtr)
 
 
 static LRESULT
-TOOLTIPS_NCCreate (HWND hwnd, const CREATESTRUCTW *lpcs)
+TOOLTIPS_NCCreate (HWND hwnd)
 {
     DWORD dwStyle = GetWindowLongW (hwnd, GWL_STYLE);
     DWORD dwExStyle = GetWindowLongW (hwnd, GWL_EXSTYLE);
@@ -2292,7 +2292,7 @@ TOOLTIPS_WindowProc (HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
 	    return TOOLTIPS_MouseMessage (infoPtr);
 
 	case WM_NCCREATE:
-	    return TOOLTIPS_NCCreate (hwnd, (LPCREATESTRUCTW)lParam);
+	    return TOOLTIPS_NCCreate (hwnd);
 
 	case WM_NCHITTEST:
 	    return TOOLTIPS_NCHitTest (infoPtr, wParam, lParam);




More information about the wine-cvs mailing list