From d25d6676277872321ff112725c4a9c276b01bd3b Mon Sep 17 00:00:00 2001 From: Gerald Pfeifer Date: Sun, 31 Oct 2010 18:34:02 +0100 Subject: [PATCH] comctl32: Remove TOOLTIPS_WindowFromPoint, putting its functionality into its sole calling site. --- dlls/comctl32/tooltips.c | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/dlls/comctl32/tooltips.c b/dlls/comctl32/tooltips.c index e74c701dae3..5b48d386ea2 100644 --- a/dlls/comctl32/tooltips.c +++ b/dlls/comctl32/tooltips.c @@ -1839,14 +1839,6 @@ TOOLTIPS_UpdateTipTextT (TOOLTIPS_INFO *infoPtr, const TTTOOLINFOW *ti, BOOL isW } -static LRESULT -TOOLTIPS_WindowFromPoint (HWND hwnd, WPARAM wParam, LPARAM lParam) -{ - return (LRESULT)WindowFromPoint (*((LPPOINT)lParam)); -} - - - static LRESULT TOOLTIPS_Create (HWND hwnd) { @@ -2268,8 +2260,7 @@ TOOLTIPS_WindowProc (HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam) uMsg == TTM_UPDATETIPTEXTW); case TTM_WINDOWFROMPOINT: - return TOOLTIPS_WindowFromPoint (hwnd, wParam, lParam); - + return (LRESULT)WindowFromPoint (*((LPPOINT)lParam)); case WM_CREATE: return TOOLTIPS_Create (hwnd);