1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-03-10 16:35:32 +01:00

Improving Progress bar messages to reflect what's actually happening

This commit is contained in:
martynshaw99
2012-05-03 22:28:58 +00:00
parent ebf54adaab
commit 52bc3fa8f7
3 changed files with 16 additions and 5 deletions

View File

@@ -166,9 +166,9 @@ bool Effect::TotalProgress(double frac)
return (updateResult != eProgressSuccess);
}
bool Effect::TrackProgress(int whichTrack, double frac)
bool Effect::TrackProgress(int whichTrack, double frac, wxString msg)
{
int updateResult = mProgress->Update(whichTrack + frac, (double) mNumTracks);
int updateResult = mProgress->Update(whichTrack + frac, (double) mNumTracks, msg);
return (updateResult != eProgressSuccess);
}