LCL: use TSize instead of tagSize, bug #29012

git-svn-id: trunk@50374 -
This commit is contained in:
mattias 2015-11-17 21:45:55 +00:00
parent 9c140c4deb
commit f0fa6bf014

View File

@ -460,7 +460,7 @@ end;
procedure TCanvas.DoGetTextSize(Text: string; var w, h: integer);
var
TxtSize: tagSIZE;
TxtSize: TSize;
begin
TxtSize:=TextExtent(Text);
w:=TxtSize.cx;