mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-23 02:19:31 +02:00
cocoa: removing unused function. related to bug #36049
git-svn-id: trunk@62435 -
This commit is contained in:
parent
62146e35bf
commit
251a2f91f6
@ -811,13 +811,6 @@ end;
|
|||||||
|
|
||||||
{ TCocoaWSPopupMenu }
|
{ TCocoaWSPopupMenu }
|
||||||
|
|
||||||
function LCLCoordsToCocoa(AControl: TControl; X, Y: Integer): NSPoint;
|
|
||||||
begin
|
|
||||||
Result.x := X;
|
|
||||||
Result.y := NSScreen.mainScreen.frame.size.height - Y;
|
|
||||||
if AControl <> nil then Result.y := Result.y - AControl.Height;
|
|
||||||
end;
|
|
||||||
|
|
||||||
{------------------------------------------------------------------------------
|
{------------------------------------------------------------------------------
|
||||||
Method: TCocoaWSPopupMenu.Popup
|
Method: TCocoaWSPopupMenu.Popup
|
||||||
Params: APopupMenu - LCL popup menu
|
Params: APopupMenu - LCL popup menu
|
||||||
|
Loading…
Reference in New Issue
Block a user