From 338026503bb5f5826bd9fbea9d2ab51b1ee02beb Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Tue, 7 Jun 2005 18:24:23 +0000 Subject: [PATCH] don't create (and leak) wxLogStderr in wxEntryReal(), we now create wxLogBuffer in DoCommonPreInit() git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34575 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/init.cpp | 6 ------ 1 file changed, 6 deletions(-) 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) ) { -- 2.45.2