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:
bart 2016-09-28 06:49:47 +00:00
parent 028ed81448
commit 2228fcd9a2

View File

@ -388,7 +388,10 @@ begin
if IsGeometric then
elpWidth := Width
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;
elpColor := TColorRef(FColor);
end;