LCL: fixed a typo which breaks IDE compilation with -dOldAutoSize

git-svn-id: trunk@24261 -
This commit is contained in:
maxim 2010-03-28 00:10:18 +00:00
parent a0fc2ffad5
commit 0e648dd6d1

View File

@ -503,7 +503,7 @@ begin
PreferredWidth := ButtonWidth
else
PreferredWidth := ButtonWidth * ACount;
inc(PreferredWidth, (Adjusted.Left - ARect.Left) + (ARect.Right - Adjusted.Right);
inc(PreferredWidth, (Adjusted.Left - ARect.Left) + (ARect.Right - Adjusted.Right));
if IsVertical then
PreferredWidth := ButtonHeight * ACount