mirror of
https://github.com/salvadordf/CEF4Delphi.git
synced 2025-06-02 21:57:37 +02:00
Fixed D7 compatibility
This commit is contained in:
parent
1bc8aac781
commit
3a762bea54
@ -688,7 +688,9 @@ begin
|
|||||||
// broadcast the WM_DDE_INITIATE to all top-level windows. The subprocesses never
|
// broadcast the WM_DDE_INITIATE to all top-level windows. The subprocesses never
|
||||||
// call Application.Run so the SendMessage freezes the other applications.
|
// call Application.Run so the SendMessage freezes the other applications.
|
||||||
if (Application.Handle <> 0) then DestroyWindow(Application.Handle);
|
if (Application.Handle <> 0) then DestroyWindow(Application.Handle);
|
||||||
|
{$IFDEF DELPHI9_UP}
|
||||||
if (Application.PopupControlWnd <> 0) then DeallocateHWnd(Application.PopupControlWnd);
|
if (Application.PopupControlWnd <> 0) then DeallocateHWnd(Application.PopupControlWnd);
|
||||||
|
{$ENDIF}
|
||||||
end;
|
end;
|
||||||
{$ENDIF}
|
{$ENDIF}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user