mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-14 09:59:20 +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
|
// add frame to parent content area
|
||||||
for I := 0 to GetFrameCount - 1 do
|
for I := 0 to GetFrameCount - 1 do
|
||||||
begin
|
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',
|
OSError(HIViewAddSubview(AParent.Content, Frames[I]), Self, 'AddToWidget',
|
||||||
SViewAddView);
|
SViewAddView);
|
||||||
end;
|
end;
|
||||||
|
Loading…
Reference in New Issue
Block a user