IDE: fixed invisible toolbutton in designer. Issue #18192

git-svn-id: trunk@28697 -
This commit is contained in:
martin 2010-12-12 16:26:05 +00:00
parent a7114a3c18
commit 45883b6dc0

View File

@ -671,7 +671,7 @@ begin
for i := 0 to OrderedControls.Count - 1 do
begin
CurControl := TControl(OrderedControls[i]);
if not CurControl.Visible then
if not CurControl.IsControlVisible then
Continue;
CalculatePosition;
//DebugLn(['WrapButtons ',CurControl.Name,':',CurControl.ClassName,' ',x,',',y,',',CurControl.Width,'x',CurControl.Height]);