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:
parent
f48d2ad721
commit
2362aca9a6
@ -1306,6 +1306,8 @@ bool AudacityApp::OnInit()
|
|||||||
|
|
||||||
mWindowRectAlreadySaved = FALSE;
|
mWindowRectAlreadySaved = FALSE;
|
||||||
|
|
||||||
|
wxLog::FlushActive(); // Make sure all log messages are written.
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user