mirror of
https://github.com/cookiengineer/audacity
synced 2025-05-04 17:49:45 +02:00
(bug 315, p2)
See http://bugzilla.audacityteam.org/show_bug.cgi?id=315#c22. Attempt to fix problem on Mac. Also removed pointless call to wxLog::FlushActive() -- it was before anything was written to the log, so nothing to flush.
This commit is contained in:
parent
458152070e
commit
41ed3aaae8
@ -1011,6 +1011,7 @@ bool AudacityApp::OnInit()
|
||||
mLogger->SetActiveTarget(mLogger);
|
||||
mLogger->EnableLogging(true);
|
||||
mLogger->SetLogLevel(wxLOG_Max);
|
||||
wxLogMessage(wxString::Format(wxT("Audacity %s"), AUDACITY_VERSION_STRING));
|
||||
#endif
|
||||
|
||||
// Unused strings that we want to be translated, even though
|
||||
@ -1118,10 +1119,6 @@ bool AudacityApp::OnInit()
|
||||
wxFrame *temporarywindow = new wxFrame(NULL, -1, wxT("temporarytopwindow"));
|
||||
SetTopWindow(temporarywindow);
|
||||
|
||||
wxLog::FlushActive(); // Make sure all log messages are written.
|
||||
|
||||
wxLogMessage(wxString::Format(wxT("Audacity %s"), AUDACITY_VERSION_STRING));
|
||||
|
||||
// Initialize the ModuleManager
|
||||
ModuleManager::Initialize();
|
||||
|
||||
@ -1228,6 +1225,7 @@ bool AudacityApp::OnInit()
|
||||
mLogger->SetActiveTarget(mLogger);
|
||||
mLogger->EnableLogging(true);
|
||||
mLogger->SetLogLevel(wxLOG_Max);
|
||||
wxLogMessage(wxString::Format(wxT("Audacity %s"), AUDACITY_VERSION_STRING));
|
||||
#endif
|
||||
|
||||
#ifdef USE_FFMPEG
|
||||
|
Loading…
x
Reference in New Issue
Block a user