mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-11 10:35:58 +02:00
Carbon: make carbon widget visibility in sync with lcl. Patch by David Jenkins. issue #21731
git-svn-id: trunk@36766 -
This commit is contained in:
parent
0666757288
commit
435b223807
@ -798,7 +798,7 @@ begin
|
||||
// add frame to parent content area
|
||||
for I := 0 to GetFrameCount - 1 do
|
||||
begin
|
||||
OSError(HIViewSetVisible(Frames[I], LCLObject.Visible), Self, 'AddToWidget', SViewVisible);
|
||||
OSError(HIViewSetVisible(Frames[I], LCLObject.HandleObjectShouldBeVisible), Self, 'AddToWidget', SViewVisible);
|
||||
OSError(HIViewAddSubview(AParent.Content, Frames[I]), Self, 'AddToWidget',
|
||||
SViewAddView);
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user