diff --git a/src/gdlwxstream.cpp b/src/gdlwxstream.cpp index e9ea2c494..6ae13a77d 100644 --- a/src/gdlwxstream.cpp +++ b/src/gdlwxstream.cpp @@ -125,10 +125,11 @@ void GDLWXStream::SetGdlxwGraphicsPanel(gdlwxGraphicsPanel* w, bool isPlot) void GDLWXStream::Update() { - if( this->valid && container != NULL) { + if (this->valid && container != NULL) { container->Refresh(); - GDLWidget::CallWXEventLoop(); - } + flush(); //needed otherwise synchro is bad see #1643 + GDLWidget::CallWXEventLoop(); + } } ////should be used when one does not recreate a wxstream each time size changes... void GDLWXStream::SetSize( wxSize s )