mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-17 15:59:13 +02:00
LCL: In TPen.ReferenceNeed the elpWidth member of the TExtLogPen structure must be 1 (not 0) if the pen is not Geometric. Resolves Issue #0022646.
git-svn-id: trunk@53046 -
This commit is contained in:
parent
028ed81448
commit
2228fcd9a2
@ -388,7 +388,10 @@ begin
|
|||||||
if IsGeometric then
|
if IsGeometric then
|
||||||
elpWidth := Width
|
elpWidth := Width
|
||||||
else
|
else
|
||||||
elpWidth := 0;
|
//(https://msdn.microsoft.com/en-us/library/windows/desktop/dd162705(v=vs.85).aspx
|
||||||
|
//https://msdn.microsoft.com/en-us/library/windows/desktop/dd162711(v=vs.85).aspx
|
||||||
|
//Issue #0022646
|
||||||
|
elpWidth := 1;
|
||||||
elpBrushStyle := BS_SOLID;
|
elpBrushStyle := BS_SOLID;
|
||||||
elpColor := TColorRef(FColor);
|
elpColor := TColorRef(FColor);
|
||||||
end;
|
end;
|
||||||
|
Loading…
Reference in New Issue
Block a user