Gerald Pfeifer : comctl32: Remove TOOLTIPS_WindowFromPoint, putting its functionality into its sole calling site.
Module: wine Branch: master Commit: d25d6676277872321ff112725c4a9c276b01bd3b URL: http://source.winehq.org/git/wine.git/?a=commit;h=d25d6676277872321ff112725c... Author: Gerald Pfeifer <gerald(a)pfeifer.com> Date: Sun Oct 31 18:34:02 2010 +0100 comctl32: Remove TOOLTIPS_WindowFromPoint, putting its functionality into its sole calling site. --- dlls/comctl32/tooltips.c | 11 +---------- 1 files changed, 1 insertions(+), 10 deletions(-) diff --git a/dlls/comctl32/tooltips.c b/dlls/comctl32/tooltips.c index e74c701..5b48d38 100644 --- a/dlls/comctl32/tooltips.c +++ b/dlls/comctl32/tooltips.c @@ -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);
participants (1)
-
Alexandre Julliard