bool wxPipeInputStream::IsAvailable() const
{
+ // FIXME
+#ifdef __WXWINE__
+ return FALSE;
+#else
if ( !IsOpened() )
return FALSE;
}
return nAvailable != 0;
+#endif
}
size_t wxPipeInputStream::OnSysRead(void *buffer, size_t len)
#endif // Win16/32
}
-long wxExecute(char **argv, int flags, wxProcess *handler)
+long wxExecute(wxChar **argv, int flags, wxProcess *handler)
{
wxString command;
- while ( *argv != NULL )
+ for ( ;; )
{
- command << *argv++ << ' ';
- }
+ command += *argv++;
+ if ( !*argv )
+ break;
- command.RemoveLast();
+ command += _T(' ');
+ }
return wxExecute(command, flags, handler);
}