diff --git a/packages/cef4delphi_lazarus.lpk b/packages/cef4delphi_lazarus.lpk index ab27f402..5fc3475d 100644 --- a/packages/cef4delphi_lazarus.lpk +++ b/packages/cef4delphi_lazarus.lpk @@ -157,8 +157,8 @@ - - + + diff --git a/packages/cef4delphi_lazarus.pas b/packages/cef4delphi_lazarus.pas index 0b932e98..f906137b 100644 --- a/packages/cef4delphi_lazarus.pas +++ b/packages/cef4delphi_lazarus.pas @@ -17,7 +17,7 @@ uses uCEFCookieManager, uCEFCookieVisitor, uCEFCustomStreamReader, uCEFDeleteCookiesCallback, uCEFDialogHandler, uCEFDictionaryValue, uCEFDisplayHandler, uCEFDomDocument, uCEFDomNode, uCEFDomVisitor, - uCEFDownloadHandler, uCEFDownloadImageCallBack, uCEFDownLoadItem, + uCEFDownloadHandler, uCEFDownloadImageCallBack, uCEFDownloadItem, uCEFDownloadItemCallback, uCEFDragData, uCEFDragHandler, uCEFEndTracingCallback, uCEFExtension, uCEFExtensionHandler, uCEFFileDialogCallback, uCEFFindHandler, uCEFFocusHandler, uCEFFrame, diff --git a/source/uCEFDownloadHandler.pas b/source/uCEFDownloadHandler.pas index 25715fab..dcfb1dc9 100644 --- a/source/uCEFDownloadHandler.pas +++ b/source/uCEFDownloadHandler.pas @@ -45,7 +45,7 @@ type implementation uses - uCEFMiscFunctions, uCEFLibFunctions, uCEFBrowser, uCEFDownLoadItem, uCEFBeforeDownloadCallback, + uCEFMiscFunctions, uCEFLibFunctions, uCEFBrowser, uCEFDownloadItem, uCEFBeforeDownloadCallback, uCEFDownloadItemCallback; function cef_download_handler_can_download( self : PCefDownloadHandler; diff --git a/source/uCEFLinkedWinControlBase.pas b/source/uCEFLinkedWinControlBase.pas index efa71be5..44815b1c 100644 --- a/source/uCEFLinkedWinControlBase.pas +++ b/source/uCEFLinkedWinControlBase.pas @@ -35,9 +35,10 @@ type FUseSetFocus : boolean; {$ENDIF} function GetChromium: TChromium; virtual; abstract; + {$IFDEF MSWINDOWS} function GetUseSetFocus: Boolean; virtual; - procedure SetUseSetFocus(aValue : boolean); virtual; + {$ENDIF} {$IFDEF FPC} procedure SetVisible(Value: Boolean); override; @@ -74,6 +75,7 @@ begin {$ENDIF} end; +{$IFDEF MSWINDOWS} function TCEFLinkedWinControlBase.GetUseSetFocus: Boolean; begin Result := FUseSetFocus; @@ -83,6 +85,7 @@ procedure TCEFLinkedWinControlBase.SetUseSetFocus(aValue : boolean); begin FUseSetFocus := aValue; end; +{$ENDIF} {$IFDEF FPC} procedure TCEFLinkedWinControlBase.SetVisible(Value: Boolean); diff --git a/update_CEF4Delphi.json b/update_CEF4Delphi.json index 1468a86c..d9481d6e 100644 --- a/update_CEF4Delphi.json +++ b/update_CEF4Delphi.json @@ -2,7 +2,7 @@ "UpdateLazPackages" : [ { "ForceNotify" : true, - "InternalVersion" : 520, + "InternalVersion" : 521, "Name" : "cef4delphi_lazarus.lpk", "Version" : "117.1.4" }