1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-07-29 23:19:28 +02:00

Remove wxLogNull declaration from LoadModule(wxString fname) as it obviated subsequent calls to wxLogDebug().

Add call to wxLog::FlushActive() to end of AudacityApp::OnInit() so calls to wxLog*() in Load*() calls get written to log.
This commit is contained in:
v.audacity 2011-02-25 05:29:17 +00:00
parent f48d2ad721
commit 2362aca9a6
2 changed files with 2 additions and 1 deletions

View File

@ -1306,6 +1306,8 @@ bool AudacityApp::OnInit()
mWindowRectAlreadySaved = FALSE;
wxLog::FlushActive(); // Make sure all log messages are written.
return TRUE;
}

View File

@ -73,7 +73,6 @@ tpRegScriptServerFunc scriptFn;
void LoadModule(wxString fname)
{
wxLogDebug(wxT("About to load %s"), fname.c_str() );
wxLogNull logNo;
tModuleInit mainFn = NULL;
// As a courtesy to some modules that might be bridges to