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

This commit is contained in:
Gerald Pfeifer 2010-10-31 18:34:02 +01:00 committed by Alexandre Julliard
parent 1c11396175
commit d25d667627
1 changed files with 1 additions and 10 deletions

View File

@ -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);