Commit 435b2238 authored by Željan Rikalo's avatar Željan Rikalo 🏊🏼
Browse files

Carbon: make carbon widget visibility in sync with lcl. Patch by David Jenkins. issue #21731

git-svn-id: trunk@36766 -
parent 06667572
......@@ -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;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment