From d8cebdca39a1f4cdc7c2eee997ef52aa9d76eba8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Tue, 1 Aug 2006 05:46:26 +0000 Subject: [PATCH] compilation fix for !wxUSE_LOG git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40407 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/x11/app.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/x11/app.cpp b/src/x11/app.cpp index f379aef037..6afd9e2006 100644 --- a/src/x11/app.cpp +++ b/src/x11/app.cpp @@ -668,10 +668,12 @@ void wxApp::WakeUpIdle() // Create display, and other initialization bool wxApp::OnInitGui() { +#if wxUSE_LOG // Eventually this line will be removed, but for // now we don't want to try popping up a dialog // for error messages. delete wxLog::SetActiveTarget(new wxLogStderr); +#endif if (!wxAppBase::OnInitGui()) return false; -- 2.50.0