Better redrawing when doing a forced change of default style.
This commit is contained in:
parent
d02b5e06e9
commit
8c5275583a
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue