mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-01 17:00:14 +02:00
Cocoa/ListView: in vsIcon/vsSmallIcon/vsList, dynamic setting TListView.CheckBoxes supported
This commit is contained in:
parent
75483dbcd5
commit
59e6e46286
@ -636,6 +636,12 @@ end;
|
||||
|
||||
procedure TCocoaCollectionItem.prepareForReuse;
|
||||
begin
|
||||
if Assigned(_checkBox) then begin
|
||||
_checkBox.removeFromSuperview;
|
||||
_checkBox.release;
|
||||
_checkBox:= nil;
|
||||
end;
|
||||
|
||||
self.view.removeFromSuperview;
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user