cocoa: fix updateproperties method from using a wrong view

git-svn-id: trunk@61044 -
This commit is contained in:
dmitry 2019-04-24 05:11:21 +00:00
parent 4844c73998
commit 65e0011cc5

View File

@ -603,8 +603,8 @@ begin
WriteLn('[TCocoaWSCustomTabControl.UpdateProperties] ACustomPage='+IntToStr(PtrInt(ACustomPage)));
{$ENDIF}
if not Assigned(ACustomPage) or not ACustomPage.HandleAllocated then Exit;
lTabPage := TCocoaTabPage(ACustomPage.Handle);
SetProperties(ACustomPage, lTabPage);
lTabPage := GetCocoaTabPageFromHandle(ACustomPage.Handle);
if Assigned(lTabPage) then SetProperties(ACustomPage, lTabPage);
end;
class procedure TCocoaWSCustomPage.SetProperties(