Only compile wxStd{Input,Output}Stream if wxUSE_STREAMS==1.

This fixes compilation of minimal wxWidgets build.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64924 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2010-07-12 22:50:51 +00:00
parent 486b9734e8
commit e5805c0fde
2 changed files with 4 additions and 4 deletions

View File

@@ -14,7 +14,7 @@
#include "wx/defs.h" // wxUSE_STD_IOSTREAM #include "wx/defs.h" // wxUSE_STD_IOSTREAM
#if wxUSE_STD_IOSTREAM #if wxUSE_STREAMS && wxUSE_STD_IOSTREAM
#include "wx/defs.h" #include "wx/defs.h"
#include "wx/stream.h" #include "wx/stream.h"
@@ -106,6 +106,6 @@ protected:
wxStdOutputStreamBuffer m_streamBuffer; wxStdOutputStreamBuffer m_streamBuffer;
}; };
#endif // wxUSE_STD_IOSTREAM #endif // wxUSE_STREAMS && wxUSE_STD_IOSTREAM
#endif // _WX_STDSTREAM_H_ #endif // _WX_STDSTREAM_H_

View File

@@ -20,7 +20,7 @@
#pragma hdrstop #pragma hdrstop
#endif #endif
#if wxUSE_STD_IOSTREAM #if wxUSE_STREAMS && wxUSE_STD_IOSTREAM
#ifndef WX_PRECOMP #ifndef WX_PRECOMP
#endif #endif
@@ -290,4 +290,4 @@ wxStdOutputStream::wxStdOutputStream(wxOutputStream& stream) :
#endif // VC6/!VC6 #endif // VC6/!VC6
#endif // wxUSE_STD_IOSTREAM #endif // wxUSE_STREAMS && wxUSE_STD_IOSTREAM