mirror of
https://github.com/salvadordf/CEF4Delphi.git
synced 2025-01-03 10:15:38 +02:00
TChromiumWindow.GetChildWindowHandle must return TChromium.WindowHandle
This commit is contained in:
parent
55aa9965df
commit
dedb740a03
@ -137,10 +137,11 @@ end;
|
||||
|
||||
function TChromiumWindow.GetChildWindowHandle : THandle;
|
||||
begin
|
||||
if (FChromium <> nil) then
|
||||
Result := FChromium.BrowserHandle
|
||||
else
|
||||
Result := inherited GetChildWindowHandle;
|
||||
Result := 0;
|
||||
|
||||
if (FChromium <> nil) then Result := FChromium.WindowHandle;
|
||||
|
||||
if (Result = 0) then Result := inherited GetChildWindowHandle;
|
||||
end;
|
||||
|
||||
function TChromiumWindow.GetBrowserInitialized : boolean;
|
||||
|
Loading…
Reference in New Issue
Block a user