#include "wx/defs.h" // wxUSE_STD_IOSTREAM
-#if wxUSE_STD_IOSTREAM
+#if wxUSE_STREAMS && wxUSE_STD_IOSTREAM
-#include <iosfwd>
#include "wx/defs.h"
#include "wx/stream.h"
+#include "wx/ioswrap.h"
// ==========================================================================
// wxStdInputStreamBuffer
wxStdOutputStreamBuffer m_streamBuffer;
};
-#endif // wxUSE_STD_IOSTREAM
+#endif // wxUSE_STREAMS && wxUSE_STD_IOSTREAM
#endif // _WX_STDSTREAM_H_