diff options
author | inmarket <andrewh@inmarket.com.au> | 2016-02-13 13:04:30 +1000 |
---|---|---|
committer | inmarket <andrewh@inmarket.com.au> | 2016-02-13 13:04:30 +1000 |
commit | 0f0964da99e5774504f6f9ee570813075194303d (patch) | |
tree | b7b03e556fa763e975dcd4c98830c7fbdb8bd81a /src/gwin/gwin_graph.c | |
parent | 410d1e756f19e57b10933afaf3b1b67abbc575e6 (diff) | |
download | uGFX-0f0964da99e5774504f6f9ee570813075194303d.tar.gz uGFX-0f0964da99e5774504f6f9ee570813075194303d.tar.bz2 uGFX-0f0964da99e5774504f6f9ee570813075194303d.zip |
Change non-widget GWIN objects to always ensure their initial display is flushed before any other drawing takes place.
Diffstat (limited to 'src/gwin/gwin_graph.c')
-rw-r--r-- | src/gwin/gwin_graph.c | 1 |
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; } |