mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-07 16:38:02 +02:00
Gtk3: fixed ownerdraw combobox.
This commit is contained in:
parent
24bf163157
commit
baef5a1511
@ -7533,6 +7533,10 @@ begin
|
||||
// if combo doesnt use menu
|
||||
if PGtkComboBox(GetContainerWidget)^.priv3^.tree_view <> nil then
|
||||
g_object_set_data(PGObject(PGtkComboBox(GetContainerWidget)^.priv3^.tree_view), 'lclwidget', Self);
|
||||
// real popup menu
|
||||
if PGtkComboBox(GetContainerWidget)^.priv3^.box <> nil then
|
||||
g_object_set_data(PGObject(PGtkComboBox(GetContainerWidget)^.priv3^.box), 'lclwidget', Self);
|
||||
|
||||
end;
|
||||
|
||||
function TGtk3ComboBox.GetDroppedDown: boolean;
|
||||
|
Loading…
Reference in New Issue
Block a user