mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-31 01:12:57 +02:00
cocoa: fix updateproperties method from using a wrong view
git-svn-id: trunk@61044 -
This commit is contained in:
parent
4844c73998
commit
65e0011cc5
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user