mirror of
https://github.com/cookiengineer/audacity
synced 2025-08-12 06:01:13 +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->SetActiveTarget(mLogger);
|
||||||
mLogger->EnableLogging(true);
|
mLogger->EnableLogging(true);
|
||||||
mLogger->SetLogLevel(wxLOG_Max);
|
mLogger->SetLogLevel(wxLOG_Max);
|
||||||
|
wxLogMessage(wxString::Format(wxT("Audacity %s"), AUDACITY_VERSION_STRING));
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Unused strings that we want to be translated, even though
|
// 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"));
|
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();
|
||||||
|
|
||||||
@ -1228,6 +1225,7 @@ bool AudacityApp::OnInit()
|
|||||||
mLogger->SetActiveTarget(mLogger);
|
mLogger->SetActiveTarget(mLogger);
|
||||||
mLogger->EnableLogging(true);
|
mLogger->EnableLogging(true);
|
||||||
mLogger->SetLogLevel(wxLOG_Max);
|
mLogger->SetLogLevel(wxLOG_Max);
|
||||||
|
wxLogMessage(wxString::Format(wxT("Audacity %s"), AUDACITY_VERSION_STRING));
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef USE_FFMPEG
|
#ifdef USE_FFMPEG
|
||||||
|
Loading…
x
Reference in New Issue
Block a user