mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-23 22:19:27 +02:00
Cocoa: improve TCocoaTableListView.initWithFrame() compatibility
This commit is contained in:
parent
cccd1f28b8
commit
f86dc6fdc1
@ -557,7 +557,8 @@ end;
|
||||
function TCocoaTableListView.initWithFrame(frameRect: NSRect): id;
|
||||
begin
|
||||
Result:=inherited initWithFrame(frameRect);
|
||||
setStyle( CocoaConfig.CocoaTableViewStyle );
|
||||
if NSAppkitVersionNumber >= NSAppKitVersionNumber11_0 then
|
||||
setStyle( CocoaConfig.CocoaTableViewStyle );
|
||||
end;
|
||||
|
||||
procedure TCocoaTableListView.mouseDown(event: NSEvent);
|
||||
|
Loading…
Reference in New Issue
Block a user