1
0
mirror of https://github.com/salvadordf/CEF4Delphi.git synced 2025-02-02 10:25:26 +02:00

Fixed D7 compatibility

This commit is contained in:
Salvador Díaz Fau 2018-11-18 14:23:21 +01:00
parent 1bc8aac781
commit 3a762bea54

View File

@ -688,7 +688,9 @@ begin
// broadcast the WM_DDE_INITIATE to all top-level windows. The subprocesses never
// call Application.Run so the SendMessage freezes the other applications.
if (Application.Handle <> 0) then DestroyWindow(Application.Handle);
{$IFDEF DELPHI9_UP}
if (Application.PopupControlWnd <> 0) then DeallocateHWnd(Application.PopupControlWnd);
{$ENDIF}
end;
{$ENDIF}