1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-07-30 07:29:29 +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; mWindowRectAlreadySaved = FALSE;
wxLog::FlushActive(); // Make sure all log messages are written.
return TRUE; return TRUE;
} }

View File

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