build fix for wxUSE_LOG==0

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67411 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Paul Cornett
2011-04-06 17:04:12 +00:00
parent 4c2ea5999b
commit 736722fb4d

View File

@@ -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 =