From: Paul Cornett Date: Wed, 6 Apr 2011 17:04:12 +0000 (+0000) Subject: build fix for wxUSE_LOG==0 X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/736722fb4d8f9533a4c46e87c7ff202abbf2cf04 build fix for wxUSE_LOG==0 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67411 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/unix/utilsunx.cpp b/src/unix/utilsunx.cpp index 455db74030..ec550fcf24 100644 --- a/src/unix/utilsunx.cpp +++ b/src/unix/utilsunx.cpp @@ -728,7 +728,9 @@ long wxExecute(char **argv, int flags, wxProcess *process, // it might not be the best idea. wxLogSysError(_("Failed to set up non-blocking pipe, " "the program might hang.")); +#if wxUSE_LOG wxLog::FlushActive(); +#endif } wxOutputStream *inStream =