You've already forked lazarus-ccr
TvPlanIt: Fix compilation after previous commit
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8890 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -1615,7 +1615,7 @@ begin
|
|||||||
try
|
try
|
||||||
bmp.SetSize(10, 10);
|
bmp.SetSize(10, 10);
|
||||||
bmp.Canvas.Font.Assign(ACanvas.Font);
|
bmp.Canvas.Font.Assign(ACanvas.Font);
|
||||||
GetTextMetrics(bmp.Canvas.Handle, Metrics) then
|
GetTextMetrics(bmp.Canvas.Handle, Metrics);
|
||||||
Result := Metrics.tmAveCharWidth;
|
Result := Metrics.tmAveCharWidth;
|
||||||
finally
|
finally
|
||||||
bmp.Free;
|
bmp.Free;
|
||||||
|
Reference in New Issue
Block a user