diff --git a/src/wxxt/src/XWidgets/xwGroup.c b/src/wxxt/src/XWidgets/xwGroup.c index 98cd61bbc5..83509b8c21 100644 --- a/src/wxxt/src/XWidgets/xwGroup.c +++ b/src/wxxt/src/XWidgets/xwGroup.c @@ -103,7 +103,7 @@ static void make_textgc(self)Widget self; if (((XfwfGroupWidget)self)->xfwfGroup.textgc != NULL) XtReleaseGC(self, ((XfwfGroupWidget)self)->xfwfGroup.textgc); values.background = ((XfwfGroupWidget)self)->core.background_pixel; values.foreground = ((XfwfGroupWidget)self)->xfwfGroup.foreground; - mask = GCFont | GCBackground | GCForeground; + mask = GCBackground | GCForeground; if (((XfwfGroupWidget)self)->xfwfGroup.font) { values.font = ((XfwfGroupWidget)self)->xfwfGroup.font->fid; mask |= GCFont; diff --git a/src/wxxt/src/XWidgets/xwGroup.w b/src/wxxt/src/XWidgets/xwGroup.w index 39386b7123..05286298b0 100644 --- a/src/wxxt/src/XWidgets/xwGroup.w +++ b/src/wxxt/src/XWidgets/xwGroup.w @@ -274,7 +274,7 @@ current value of the Group's |selection| resource. if ($textgc != NULL) XtReleaseGC($, $textgc); values.background = $background_pixel; values.foreground = $foreground; - mask = GCFont | GCBackground | GCForeground; + mask = GCBackground | GCForeground; if ($font) { values.font = $font->fid; mask |= GCFont;