]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/stdstream.h
Replaced Ok() occurrences with IsOk() throughout trunk.
[wxWidgets.git] / include / wx / stdstream.h
index dd11fd660dc0be5a40703fc057ad3a37d04a13ed..e3f3a474feb21b2b3d520db93098e24bf84626f1 100644 (file)
 
 #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
@@ -106,6 +106,6 @@ protected:
     wxStdOutputStreamBuffer m_streamBuffer;
 };
 
-#endif // wxUSE_STD_IOSTREAM
+#endif // wxUSE_STREAMS && wxUSE_STD_IOSTREAM
 
 #endif // _WX_STDSTREAM_H_