mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-23 00:59:31 +02:00
LCL: TTreeView fixed sort under unixes. issue #33064
git-svn-id: trunk@62828 -
This commit is contained in:
parent
5e1a4e94f5
commit
42c1f05392
@ -291,7 +291,11 @@ begin
|
||||
Result:=0;
|
||||
Node1.TreeView.OnCompare(Node1.TreeView,Node1, Node2, Result);
|
||||
end else
|
||||
{$IFDEF UNIX}
|
||||
Result := CompareStr(Node1.Text, Node2.Text);
|
||||
{$ELSE}
|
||||
Result := AnsiCompareStr(Node1.Text,Node2.Text);
|
||||
{$ENDIF}
|
||||
end;
|
||||
|
||||
constructor TTreeNode.Create(AnOwner: TTreeNodes);
|
||||
|
Loading…
Reference in New Issue
Block a user