mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-06-02 11:52:37 +02:00
cocoa: update type cocoawsmenu type switching from boolean to LCLObjCBoolean. #34609
git-svn-id: trunk@59750 -
This commit is contained in:
parent
5f37854832
commit
06fc6ff719
@ -275,7 +275,7 @@ end;
|
||||
|
||||
{ TCocoaMenuITem }
|
||||
|
||||
procedure TCocoaMenuItem.UncheckSiblings(AIsChangingToChecked: Boolean);
|
||||
procedure TCocoaMenuItem.UncheckSiblings(AIsChangingToChecked: LCLObjCBoolean);
|
||||
var
|
||||
i: Integer;
|
||||
lMenuItem, lSibling, lParentMenu: TMenuItem;
|
||||
@ -369,7 +369,7 @@ begin
|
||||
attachedAppleMenuItems := True;
|
||||
end;
|
||||
|
||||
function TCocoaMenuItem.isValidAppleMenu(): Boolean;
|
||||
function TCocoaMenuItem.isValidAppleMenu(): LCLObjCBoolean;
|
||||
begin
|
||||
Result := hasSubmenu() and (submenu() <> nil);
|
||||
Result := Result and ('' = NSStringToString(title));
|
||||
|
Loading…
Reference in New Issue
Block a user