mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-01 23:00:27 +02:00
Revert r64615 #8ae7b2bb45. It used HasEditBox which is not merged.
git-svn-id: branches/fixes_2_0@64627 -
This commit is contained in:
parent
f7aa0270f1
commit
48ffd9739c
@ -1818,9 +1818,8 @@ begin
|
|||||||
g_signal_connect_after(AMenu, 'selection-done', G_CALLBACK(@GtkPopupHideCB), AWidgetInfo);
|
g_signal_connect_after(AMenu, 'selection-done', G_CALLBACK(@GtkPopupHideCB), AWidgetInfo);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
if TCustomComboBox(AWinControl).Style.HasEditBox then
|
g_signal_connect_after(PGtkObject(GTK_BIN(ComboWidget)^.child), 'populate-popup',
|
||||||
g_signal_connect_after(PGtkObject(GTK_BIN(ComboWidget)^.child), 'populate-popup',
|
gtk_signal_func(@gtkDefaultPopupMenuCloseFix), AWidgetInfo);
|
||||||
gtk_signal_func(@gtkDefaultPopupMenuCloseFix), AWidgetInfo);
|
|
||||||
|
|
||||||
if (gtk_major_version >= 2) and (gtk_minor_version >= 10) then
|
if (gtk_major_version >= 2) and (gtk_minor_version >= 10) then
|
||||||
g_signal_connect(ComboWidget, 'notify', TGCallback(@GtkNotifyCB), AWidgetInfo);
|
g_signal_connect(ComboWidget, 'notify', TGCallback(@GtkNotifyCB), AWidgetInfo);
|
||||||
|
Loading…
Reference in New Issue
Block a user