mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2026-02-19 19:56:56 +01:00
Implemented gtk2 combobox.sorted property
git-svn-id: trunk@11354 -
This commit is contained in:
parent
236bcd8d46
commit
0ea8ca69fb
@ -1140,8 +1140,14 @@ end;
|
||||
|
||||
class procedure TGtk2WSCustomComboBox.Sort(const ACustomComboBox: TCustomComboBox;
|
||||
AList: TStrings; IsSorted: boolean);
|
||||
var
|
||||
ComboWidget: PGtkWidget;
|
||||
Handle: HWND;
|
||||
begin
|
||||
// TODO
|
||||
Handle := ACustomComboBox.Handle;
|
||||
ComboWidget := GetWidgetInfo(Pointer(Handle), True)^.CoreWidget;
|
||||
TGtkListStoreStringList(gtk_object_get_data(PGtkObject(ComboWidget),
|
||||
GtkListItemLCLListTag)).Sorted := IsSorted;
|
||||
end;
|
||||
|
||||
class procedure TGtk2WSCustomComboBox.SetColor(const AWinControl: TWinControl);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user