mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-24 20:19:23 +02:00
Merged revision(s) 63732 #c5dd93a0e4, 64473 #bef5ada271 from trunk:
LCL-GTK2: Apply DisplaySettings properties of TCalendar also during runtime. Issue #37450, patch from Cyrax. ........ LCL-GTK2: Prevent a warning caused by a popup menu code. Issue #38402, patch from Petr-K. ........ git-svn-id: branches/fixes_2_0@64615 -
This commit is contained in:
parent
240db20a1d
commit
8ae7b2bb45
@ -1818,8 +1818,9 @@ begin
|
||||
g_signal_connect_after(AMenu, 'selection-done', G_CALLBACK(@GtkPopupHideCB), AWidgetInfo);
|
||||
end;
|
||||
|
||||
g_signal_connect_after(PGtkObject(GTK_BIN(ComboWidget)^.child), 'populate-popup',
|
||||
gtk_signal_func(@gtkDefaultPopupMenuCloseFix), AWidgetInfo);
|
||||
if TCustomComboBox(AWinControl).Style.HasEditBox then
|
||||
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);
|
||||
|
Loading…
Reference in New Issue
Block a user