1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-28 14:18:41 +02:00

Bug 315: Putting AUDACITY_VERSION_STRING at top of log (needs testing on Mac). See discussion at http://bugzilla.audacityteam.org/show_bug.cgi?id=315#c18

This commit is contained in:
windinthew 2011-08-17 18:29:27 +00:00
parent 4bfd41d3ee
commit 9717857b66

View File

@ -1117,6 +1117,10 @@ bool AudacityApp::OnInit()
wxFrame *temporarywindow = new wxFrame(NULL, -1, wxT("temporarytopwindow")); wxFrame *temporarywindow = new wxFrame(NULL, -1, wxT("temporarytopwindow"));
SetTopWindow(temporarywindow); SetTopWindow(temporarywindow);
wxLog::FlushActive(); // Make sure all log messages are written.
wxLogMessage(wxString::Format(wxT("Audacity %s"), AUDACITY_VERSION_STRING));
// Initialize the ModuleManager // Initialize the ModuleManager
ModuleManager::Initialize(); ModuleManager::Initialize();
@ -1398,8 +1402,6 @@ bool AudacityApp::OnInit()
mWindowRectAlreadySaved = FALSE; mWindowRectAlreadySaved = FALSE;
wxLog::FlushActive(); // Make sure all log messages are written.
mTimer = new wxTimer(this, kAudacityAppTimerID); mTimer = new wxTimer(this, kAudacityAppTimerID);
mTimer->Start(200); mTimer->Start(200);
return TRUE; return TRUE;