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:
vincents 2009-08-05 09:22:47 +00:00
parent c6ca3e5e7b
commit 03d39fc728

View File

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