mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-05-14 06:42:40 +02:00
gtk2 widgetset: fixed showing selection in combobox after setting the color, hint from Paul who did the same thing in r21027 #11435c4016 for TEdit, fixes issue #14270
git-svn-id: trunk@21102 -
This commit is contained in:
parent
c6ca3e5e7b
commit
03d39fc728
@ -1543,7 +1543,7 @@ begin
|
||||
|
||||
Child := GTK_BIN(WidgetInfo^.CoreWidget)^.child;
|
||||
Gtk2WidgetSet.SetWidgetColor(Child, AWinControl.Font.Color, AWinControl.Color,
|
||||
[GTK_STATE_NORMAL,GTK_STATE_ACTIVE,GTK_STATE_PRELIGHT,GTK_STATE_SELECTED,GTK_STYLE_BASE]);
|
||||
[GTK_STATE_NORMAL,GTK_STYLE_BASE]);
|
||||
end;
|
||||
|
||||
class procedure TGtk2WSCustomComboBox.SetFont(const AWinControl: TWinControl;
|
||||
|
Loading…
Reference in New Issue
Block a user