comctl32: Shed unused parameter from TOOLTIPS_NCCreate.
Gerald Pfeifer
gerald at pfeifer.com
Sat Jan 1 07:33:20 CST 2011
---
dlls/comctl32/tooltips.c | 4 ++--
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/dlls/comctl32/tests/listview.c b/dlls/comctl32/tests/listview.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);
--
1.7.2.2
More information about the wine-patches
mailing list