From: Włodzimierz Skiba Date: Tue, 7 Jun 2005 16:21:25 +0000 (+0000) Subject: wxPalmOS build fix. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/688e04b18f411a4bf75b635279d60bb4b03edf68 wxPalmOS build fix. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34572 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/common/init.cpp b/src/common/init.cpp index 9343b390f1..df02adb085 100644 --- a/src/common/init.cpp +++ b/src/common/init.cpp @@ -409,8 +409,10 @@ int wxEntryReal(int& argc, wxChar **argv) // library initialization if ( !wxEntryStart(argc, argv) ) { +#if wxUSE_LOG // flush any log messages explaining why we failed delete wxLog::SetActiveTarget(NULL); +#endif return -1; }