Skip to content

Commit d42a346

Browse files
authored
closes #1643
Solve #1643 by forcing an update AFTER a refresh. This because our wxwidget loop event is not in a separate thread and we need to activate it manually everytime something needs to be changed on the screen. And the loop needs to be convinced that a widget (and the plot is a widget) IS not up-to-date. In contradistinction with X11 where the server loops independently from the program.
1 parent c0f7171 commit d42a346

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/gdlwxstream.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ void GDLWXStream::Update()
127127
{
128128
if (this->valid && container != NULL) {
129129
container->Refresh();
130-
flush(); //needed otherwise synchro is bad see #1643
130+
container->Update(); //solve 1643
131131
GDLWidget::CallWXEventLoop();
132132
}
133133
}

0 commit comments

Comments
 (0)