aboutsummaryrefslogtreecommitdiffstats
path: root/src/gwin/gwidget.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gwin/gwidget.c')
-rw-r--r--src/gwin/gwidget.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gwin/gwidget.c b/src/gwin/gwidget.c
index de31daa8..ccfbd26e 100644
--- a/src/gwin/gwidget.c
+++ b/src/gwin/gwidget.c
@@ -320,6 +320,8 @@ void gwinSetDefaultStyle(const GWidgetStyle *pstyle, bool_t updateAll) {
for(gh = gwinGetNextWindow(0); gh; gh = gwinGetNextWindow(gh)) {
if ((gh->flags & GWIN_FLG_WIDGET) && ((GWidgetObject *)gh)->pstyle == defaultStyle)
gwinSetStyle(gh, pstyle);
+ else
+ gwinRedraw(gh);
}
}
gwinSetDefaultBgColor(pstyle->background);