diff --git a/test/stressGUI.cxx b/test/stressGUI.cxx index 751df73f16796ef230f5924e9fdbb87ed001febe..841b230716531c63d73848dcf4e229347afa8bc6 100644 --- a/test/stressGUI.cxx +++ b/test/stressGUI.cxx @@ -411,7 +411,7 @@ void ProcessFrame(TGFrame *f, const char *title) { // Save a capture of frame f in a png file. - gClient->HandleInput(); + gSystem->ProcessEvents(); gSystem->Sleep(250); gSystem->ProcessEvents(); gErrorIgnoreLevel = 9999;