From 48ffd9739cfee3aa6a2ca5fb0fd4fee7a6702459 Mon Sep 17 00:00:00 2001 From: juha Date: Sat, 20 Feb 2021 19:31:41 +0000 Subject: [PATCH] Revert r64615 #8ae7b2bb45. It used HasEditBox which is not merged. git-svn-id: branches/fixes_2_0@64627 - --- lcl/interfaces/gtk2/gtk2wsstdctrls.pp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lcl/interfaces/gtk2/gtk2wsstdctrls.pp b/lcl/interfaces/gtk2/gtk2wsstdctrls.pp index d9efcaf8aa..6e9b93aa7d 100644 --- a/lcl/interfaces/gtk2/gtk2wsstdctrls.pp +++ b/lcl/interfaces/gtk2/gtk2wsstdctrls.pp @@ -1818,9 +1818,8 @@ begin g_signal_connect_after(AMenu, 'selection-done', G_CALLBACK(@GtkPopupHideCB), AWidgetInfo); end; - if TCustomComboBox(AWinControl).Style.HasEditBox then - g_signal_connect_after(PGtkObject(GTK_BIN(ComboWidget)^.child), 'populate-popup', - gtk_signal_func(@gtkDefaultPopupMenuCloseFix), AWidgetInfo); + g_signal_connect_after(PGtkObject(GTK_BIN(ComboWidget)^.child), 'populate-popup', + gtk_signal_func(@gtkDefaultPopupMenuCloseFix), AWidgetInfo); if (gtk_major_version >= 2) and (gtk_minor_version >= 10) then g_signal_connect(ComboWidget, 'notify', TGCallback(@GtkNotifyCB), AWidgetInfo);