mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-20 07:29:29 +02:00
LCL/TCustomComboBox: Sorted supported (Cocoa first)
This commit is contained in:
parent
2ce8c12ed9
commit
062bacda7a
@ -33,6 +33,8 @@ begin
|
||||
if (FItems<>NewStrings) and (FItems<>nil) then
|
||||
begin
|
||||
NewStrings.Assign(FItems);
|
||||
if NewStrings is TStringList then
|
||||
TStringList(NewStrings).Sorted:= self.Sorted;
|
||||
FItems.Free;
|
||||
end;
|
||||
// and use the interface based list
|
||||
|
Loading…
Reference in New Issue
Block a user