mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-16 16:29:32 +02:00
Revert "Cocoa: fix memory leak in LegacyScroller #41171"
This reverts commit 4362298ebd
.
This commit is contained in:
parent
4362298ebd
commit
96b5fe52c4
@ -509,7 +509,6 @@ begin
|
|||||||
scrollBar:= TCocoaScrollBar(TCocoaScrollBar.alloc);
|
scrollBar:= TCocoaScrollBar(TCocoaScrollBar.alloc);
|
||||||
manager:= TCocoaScrollStyleManagerLegacy.createForScrollBar;
|
manager:= TCocoaScrollStyleManagerLegacy.createForScrollBar;
|
||||||
scrollBar.setManager( manager );
|
scrollBar.setManager( manager );
|
||||||
scrollBar.autorelease;
|
|
||||||
end;
|
end;
|
||||||
|
|
||||||
function allocScroller(parent: TCocoaManualScrollView; dst: NSRect; aVisible: Boolean)
|
function allocScroller(parent: TCocoaManualScrollView; dst: NSRect; aVisible: Boolean)
|
||||||
|
Loading…
Reference in New Issue
Block a user