You've already forked CEF4Delphi
							
							
				mirror of
				https://github.com/salvadordf/CEF4Delphi.git
				synced 2025-10-30 23:07:52 +02:00 
			
		
		
		
	Compilation fix for Lazarus in Linux
This commit is contained in:
		| @@ -637,7 +637,7 @@ end; | ||||
| {$IFDEF LINUX} | ||||
| procedure WindowInfoAsChild(var aWindowInfo : TCefWindowInfo; aParent : TCefWindowHandle; aRect : TRect; const aWindowName : ustring = ''); | ||||
| begin | ||||
|   aWindowInfo.window_name                  := aWindowName; | ||||
|   aWindowInfo.window_name                  := CefString(aWindowName); | ||||
|   aWindowInfo.x                            := aRect.left; | ||||
|   aWindowInfo.y                            := aRect.top; | ||||
|   aWindowInfo.width                        := aRect.right  - aRect.left; | ||||
| @@ -651,7 +651,7 @@ end; | ||||
|  | ||||
| procedure WindowInfoAsPopUp(var aWindowInfo : TCefWindowInfo; aParent : TCefWindowHandle; const aWindowName : ustring = ''); | ||||
| begin | ||||
|   aWindowInfo.window_name                  := aWindowName; | ||||
|   aWindowInfo.window_name                  := CefString(aWindowName); | ||||
|   aWindowInfo.x                            := 0; | ||||
|   aWindowInfo.y                            := 0; | ||||
|   aWindowInfo.width                        := 0; | ||||
| @@ -665,7 +665,7 @@ end; | ||||
|  | ||||
| procedure WindowInfoAsWindowless(var aWindowInfo : TCefWindowInfo; aParent : TCefWindowHandle; const aWindowName : ustring = ''); | ||||
| begin | ||||
|   aWindowInfo.window_name                  := aWindowName; | ||||
|   aWindowInfo.window_name                  := CefString(aWindowName); | ||||
|   aWindowInfo.x                            := 0; | ||||
|   aWindowInfo.y                            := 0; | ||||
|   aWindowInfo.width                        := 0; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user