aboutsummaryrefslogtreecommitdiffstats
path: root/src/gwin/gwin_graph.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gwin/gwin_graph.c')
-rw-r--r--src/gwin/gwin_graph.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gwin/gwin_graph.c b/src/gwin/gwin_graph.c
index 95743ced..6f0ce2a4 100644
--- a/src/gwin/gwin_graph.c
+++ b/src/gwin/gwin_graph.c
@@ -172,6 +172,7 @@ GHandle gwinGGraphCreate(GDisplay *g, GGraphObject *gg, const GWindowInit *pInit
gg->lastx = gg->lasty = 0;
gwinGraphSetStyle((GHandle)gg, &GGraphDefaultStyle);
gwinSetVisible((GHandle)gg, pInit->show);
+ _gwinFlushRedraws(REDRAW_WAIT);
return (GHandle)gg;
}