diff --git a/src/common/init.cpp b/src/common/init.cpp index df02adb085..aaeec98204 100644 --- a/src/common/init.cpp +++ b/src/common/init.cpp @@ -400,12 +400,6 @@ void wxEntryCleanup() int wxEntryReal(int& argc, wxChar **argv) { -#if wxUSE_LOG - // Create a non-GUI log target, to be used until GUI (if any) is ready. - // Target will be reset by wxAppConsole::Initialize, when GUI logging will work. - wxLog::GetActiveTarget(); -#endif - // library initialization if ( !wxEntryStart(argc, argv) ) {