mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-16 01:49:27 +02:00
cleanup
git-svn-id: trunk@16889 -
This commit is contained in:
parent
7b46a25254
commit
8f28862538
@ -663,19 +663,6 @@ var
|
||||
MainWidget: PGtkWidget;
|
||||
begin
|
||||
if not AWinControl.HandleAllocated then exit;
|
||||
{ if ((csOpaque in AWinControl.ControlStyle)
|
||||
and GtkWidgetIsA(pGtkWidget(AWinControl.handle),GTKAPIWidget_GetType)) then
|
||||
exit;
|
||||
}
|
||||
//DebugLn('TGtkWSWinControl.SetColor ',DbgSName(AWinControl));
|
||||
{ GtkWidgetSet.SetWidgetColor(pGtkWidget(AWinControl.handle),
|
||||
AWinControl.font.color, AWinControl.color,
|
||||
[GTK_STATE_NORMAL,GTK_STATE_ACTIVE,
|
||||
GTK_STATE_PRELIGHT,GTK_STATE_SELECTED]);
|
||||
}
|
||||
// GtkWidgetSet.setWidgetFont(pGtkWidget(AWinControl.handle),aWinControl.font);
|
||||
|
||||
|
||||
MainWidget:=GetFixedWidget(pGtkWidget(AWinControl.handle));
|
||||
if MainWidget<>nil then
|
||||
GtkWidgetSet.SetWidgetColor(MainWidget,
|
||||
|
Loading…
Reference in New Issue
Block a user