comctl32: Remove TOOLTIPS_WindowFromPoint, putting its functionality into its sole calling site.
This commit is contained in:
parent
1c11396175
commit
d25d667627
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue