mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-23 00:59:31 +02:00
Improve TurboPower IPro. Issue #24840, patch from Christian
git-svn-id: trunk@42401 -
This commit is contained in:
parent
4be93112dd
commit
dacbf1a4cf
@ -5257,7 +5257,7 @@ begin
|
||||
if Background <> '' then begin
|
||||
if BgPicture = nil then
|
||||
Owner.DoGetImage(Self, Owner.BuildPath(Background), BgPicture);
|
||||
if BgPicture <> nil then begin
|
||||
if (BgPicture <> nil) and (BgPicture.Height>0) and (BgPicture.Width>0) then begin
|
||||
MaxX := MaxI2(PageRect.Right, Owner.ClientRect.Right); {!!.02}
|
||||
MaxY := MaxI2(PageRect.Bottom, Owner.ClientRect.Bottom); {!!.02}
|
||||
Y := 0;
|
||||
@ -16869,8 +16869,6 @@ end;
|
||||
|
||||
procedure TIpHtmlPropA.SetKnownSizeOfSpace(const Size: TSize);
|
||||
begin
|
||||
if Size.cx = 0 then
|
||||
raise EIpHtmlException.Create(SHtmlInternal); {!!.02}
|
||||
FKnownSizeOfSpace := Size;
|
||||
FSizeOfSpaceKnown := True;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user