X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/411165f3f40f411d6feba4d13d4934f7fff6cc4f..9ac71bef070f553f4ecef2c549dba33b10422f06:/src/common/process.cpp diff --git a/src/common/process.cpp b/src/common/process.cpp index c8f7cae09a..0e9769d95e 100644 --- a/src/common/process.cpp +++ b/src/common/process.cpp @@ -127,17 +127,17 @@ void wxProcess::SetPipeStreams(wxInputStream *inputSstream, bool wxProcess::IsInputOpened() const { - return TRUE; + return m_inputStream != NULL; } bool wxProcess::IsInputAvailable() const { - return FALSE; + return m_inputStream && !m_inputStream->Eof(); } bool wxProcess::IsErrorAvailable() const { - return FALSE; + return m_errorStream && !m_errorStream->Eof(); } #endif // !Win32 && !Unix