mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-29 09:30:37 +02:00
Carbon: fix for possible re-drawing loop
git-svn-id: trunk@20627 -
This commit is contained in:
parent
d0eafc69e3
commit
61942c9056
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user