Carbon: fix for possible re-drawing loop

git-svn-id: trunk@20627 -
This commit is contained in:
dmitry 2009-06-14 22:20:10 +00:00
parent d0eafc69e3
commit 61942c9056

View File

@ -959,6 +959,7 @@ const
SName = 'Update';
begin
Result := True;
if IsDrawEvent>0 then Exit;
if Widget <> HIViewRef(Frames[0]) then
if OSError(HIViewRender(Widget), Self, SName, SViewRender) then Result := False;
if Widget <> Content then