mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-01 00:16:35 +02:00
commented DebugLn
git-svn-id: trunk@19600 -
This commit is contained in:
parent
a480ed52ae
commit
fa42e89af3
@ -608,7 +608,7 @@ var
|
||||
SubIndex: Integer;
|
||||
begin
|
||||
Result := noErr;
|
||||
DebugLn('CarbonItemDataCallBack ID: ' + DbgS(ID));
|
||||
// DebugLn('CarbonItemDataCallBack ID: ' + DbgS(ID));
|
||||
ACarbonDataBrowser := TCarbonDataBrowser(GetCarbonControl(AControl));
|
||||
if ACarbonDataBrowser = nil then Exit;
|
||||
ALCLDataBrowser := ACarbonDataBrowser.LCLObject;
|
||||
@ -972,7 +972,7 @@ end;
|
||||
function TCarbonDataBrowser.GetItemChecked(AIndex: Integer): Boolean;
|
||||
begin
|
||||
if (AIndex >= 0) and (AIndex < GetItemsCount) then
|
||||
Result := Boolean(FItemsCheck[AIndex])
|
||||
Result := Assigned(FItemsCheck[AIndex])
|
||||
else
|
||||
Result := False;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user