From 747342ebb272d9032bb0a4281c6c068c4e807f76 Mon Sep 17 00:00:00 2001 From: sergei Date: Sun, 7 Apr 2013 12:06:01 +0000 Subject: [PATCH] - Removed nested comments which were causing compiler warnings. git-svn-id: trunk@24176 - --- rtl/win/wininc/func.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rtl/win/wininc/func.inc b/rtl/win/wininc/func.inc index 567f483eec..1a7b34abc0 100644 --- a/rtl/win/wininc/func.inc +++ b/rtl/win/wininc/func.inc @@ -1286,14 +1286,14 @@ function GetMenuBarInfo(_hwnd:HWND; idObject:longint; idItem:longint; pmbi:LPMEN function Internal_MenuItemFromPoint(hWnd:HWND; hMenu:HMENU; ptScreenX, ptScreenY : LONG):longint; external 'user32' name 'MenuItemFromPoint'; -function MenuItemFromPoint(hWnd:HWND; hMenu:HMENU; ptScreen:POINT):longint; {external 'user32' name 'MenuItemFromPoint';} +function MenuItemFromPoint(hWnd:HWND; hMenu:HMENU; ptScreen:POINT):longint; begin MenuItemFromPoint:=Internal_MenuItemFromPoint(hWnd, hMenu, ptScreen.X, ptScreen.Y); end; function Internal_DragDetect(hwnd:HWND; ptX, ptY : LONG):WINBOOL; external 'user32' name 'DragDetect'; -function DragDetect(hwnd:HWND; pt:POINT):WINBOOL; {external 'user32' name 'DragDetect';} +function DragDetect(hwnd:HWND; pt:POINT):WINBOOL; begin DragDetect:=Internal_DragDetect(hWnd, pt.X, pt.Y); end; @@ -1333,7 +1333,7 @@ end; function Internal_LBItemFromPt(hLB:HWND; ptX, ptY : LONG; bAutoScroll:WINBOOL):longint; external 'comctl32' name 'LBItemFromPt'; -function LBItemFromPt(hLB:HWND; pt:POINT; bAutoScroll:WINBOOL):longint; { external 'comctl32' name 'LBItemFromPt';} +function LBItemFromPt(hLB:HWND; pt:POINT; bAutoScroll:WINBOOL):longint; begin LBItemFromPt:=Internal_LBItemFromPt(hLB, pt.X, pt.Y, bAutoScroll); end;