mirror of
https://github.com/cookiengineer/audacity
synced 2026-03-06 14:35:32 +01:00
Bug 337 - New logger class allows log to be initialized immediately without crashing Mac empty project windows
This is an older one...originally from 2011. Bug says it all, but basically it allows logging to begin immediately upon startup for all platforms. And it has multithreading protection, so it should now be safe to log from the non-GUI threads.
This commit is contained in:
@@ -33,6 +33,7 @@ class IPCServ;
|
||||
class Importer;
|
||||
class CommandHandler;
|
||||
class AppCommandEvent;
|
||||
class AudacityLogger;
|
||||
|
||||
void SaveWindowSize();
|
||||
|
||||
@@ -187,9 +188,9 @@ class AudacityApp:public wxApp {
|
||||
bool GetWindowRectAlreadySaved()const {return mWindowRectAlreadySaved;}
|
||||
void SetWindowRectAlreadySaved(bool alreadySaved) {mWindowRectAlreadySaved = alreadySaved;}
|
||||
|
||||
Importer *mImporter;
|
||||
AudacityLogger *GetLogger();
|
||||
|
||||
wxLogWindow *mLogger;
|
||||
Importer *mImporter;
|
||||
|
||||
#if defined(__WXGTK__)
|
||||
/** \brief This flag is set true when in a keyboard event handler.
|
||||
|
||||
Reference in New Issue
Block a user