]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/process.cpp
Compile fix for prop.
[wxWidgets.git] / src / common / process.cpp
index c8f7cae09aa7b290d03ebd94325c95627bd2d4da..0e9769d95e62a78a350953cf83a6a9fbeb9bfb45 100644 (file)
@@ -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