mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-06-21 22:48:49 +02:00
cocoa: Patch for bug #30372: Drag and drop on app icon does not work with Cocoa widget set
git-svn-id: trunk@53850 -
This commit is contained in:
parent
f9a5f928c7
commit
ffc1493b4a
@ -630,6 +630,8 @@ begin
|
|||||||
lFiles[i] := NSStringToString(lNSStr);
|
lFiles[i] := NSStringToString(lNSStr);
|
||||||
end;
|
end;
|
||||||
Application.IntfDropFiles(lFiles);
|
Application.IntfDropFiles(lFiles);
|
||||||
|
if Application.MainForm<>nil then
|
||||||
|
Application.MainForm.IntfDropFiles(lFiles);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
{------------------------------------------------------------------------------
|
{------------------------------------------------------------------------------
|
||||||
|
Loading…
Reference in New Issue
Block a user