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.
This commit is contained in:
Vadim Zeitlin
2017-10-28 22:47:32 +02:00
parent 0b96d3b905
commit 814a674531

View File

@@ -2785,7 +2785,7 @@ void MyFrame::DoShowProgress(wxGenericProgressDialog& dialog)
dialog.Resume(); dialog.Resume();
} }
wxMilliSleep(200); wxMilliSleep(100);
} }
if ( !cont ) if ( !cont )
@@ -2817,7 +2817,7 @@ void MyFrame::ShowAppProgress( wxCommandEvent& WXUNUSED(event) )
{ {
progress.SetValue(i); progress.SetValue(i);
wxMilliSleep(500); wxMilliSleep(200);
} }
wxLogStatus("Progress finished"); wxLogStatus("Progress finished");