Commit d25d6676 authored by Gerald Pfeifer's avatar Gerald Pfeifer Committed by Alexandre Julliard

comctl32: Remove TOOLTIPS_WindowFromPoint, putting its functionality into its sole calling site.

parent 1c113961
......@@ -1840,14 +1840,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)
{
TOOLTIPS_INFO *infoPtr;
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment