mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-18 23:39:40 +02:00
TCustomTreeView: use Utf8CompareStr for default sorting instead of AnsiCompareStr.
Issue #0024740. git-svn-id: trunk@42123 -
This commit is contained in:
parent
bc30518a35
commit
44ab1aef23
@ -3226,7 +3226,7 @@ begin
|
|||||||
Result:=0;
|
Result:=0;
|
||||||
OnCompare(Node1.TreeView,Node1, Node2, Result);
|
OnCompare(Node1.TreeView,Node1, Node2, Result);
|
||||||
end else
|
end else
|
||||||
Result := AnsiCompareStr(Node1.Text,Node2.Text);
|
Result := Utf8CompareStr(Node1.Text,Node2.Text);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
procedure TCustomTreeView.SetAutoExpand(Value: Boolean);
|
procedure TCustomTreeView.SetAutoExpand(Value: Boolean);
|
||||||
|
Loading…
Reference in New Issue
Block a user