Gtk3: fixed ownerdraw combobox.

This commit is contained in:
zeljan1 2025-01-19 21:38:31 +01:00
parent 24bf163157
commit baef5a1511

View File

@ -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;