better dummy implementation of IsInput/ErrorAvailable() (it's still wrong but now no more wrong than before my changes)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16658 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -127,17 +127,17 @@ void wxProcess::SetPipeStreams(wxInputStream *inputSstream,
|
|||||||
|
|
||||||
bool wxProcess::IsInputOpened() const
|
bool wxProcess::IsInputOpened() const
|
||||||
{
|
{
|
||||||
return TRUE;
|
return m_inputStream != NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool wxProcess::IsInputAvailable() const
|
bool wxProcess::IsInputAvailable() const
|
||||||
{
|
{
|
||||||
return FALSE;
|
return m_inputStream && !m_inputStream->Eof();
|
||||||
}
|
}
|
||||||
|
|
||||||
bool wxProcess::IsErrorAvailable() const
|
bool wxProcess::IsErrorAvailable() const
|
||||||
{
|
{
|
||||||
return FALSE;
|
return m_errorStream && !m_errorStream->Eof();
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif // !Win32 && !Unix
|
#endif // !Win32 && !Unix
|
||||||
|
Reference in New Issue
Block a user