From 814a67453199ad818d7757f57ca4ffce38955823 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sat, 28 Oct 2017 22:47:32 +0200 Subject: [PATCH] Speed up the sample progress dialogs in the sample Just make them finish faster, it's too boring to wait for them to do it when testing when they take so long. --- samples/dialogs/dialogs.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/samples/dialogs/dialogs.cpp b/samples/dialogs/dialogs.cpp index 22748f5f85..b073c30a18 100644 --- a/samples/dialogs/dialogs.cpp +++ b/samples/dialogs/dialogs.cpp @@ -2785,7 +2785,7 @@ void MyFrame::DoShowProgress(wxGenericProgressDialog& dialog) dialog.Resume(); } - wxMilliSleep(200); + wxMilliSleep(100); } if ( !cont ) @@ -2817,7 +2817,7 @@ void MyFrame::ShowAppProgress( wxCommandEvent& WXUNUSED(event) ) { progress.SetValue(i); - wxMilliSleep(500); + wxMilliSleep(200); } wxLogStatus("Progress finished");