compile wxFileXXXStream without wxFFileXXXStream
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32115 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -20,12 +20,14 @@
|
||||
#pragma hdrstop
|
||||
#endif
|
||||
|
||||
#if wxUSE_STREAMS && wxUSE_FILE
|
||||
#if wxUSE_STREAMS
|
||||
|
||||
#include <stdio.h>
|
||||
#include "wx/stream.h"
|
||||
#include "wx/wfstream.h"
|
||||
|
||||
#if wxUSE_FILE
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// wxFileInputStream
|
||||
// ----------------------------------------------------------------------------
|
||||
@@ -191,6 +193,10 @@ wxFileStream::wxFileStream(const wxString& fileName)
|
||||
wxFileOutputStream::m_file = wxFileInputStream::m_file;
|
||||
}
|
||||
|
||||
#endif //wxUSE_FILE
|
||||
|
||||
#if wxUSE_FFILE
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// wxFFileInputStream
|
||||
// ----------------------------------------------------------------------------
|
||||
@@ -350,5 +356,7 @@ wxFFileStream::wxFFileStream(const wxString& fileName)
|
||||
wxFFileOutputStream::m_file = wxFFileInputStream::m_file;
|
||||
}
|
||||
|
||||
#endif // wxUSE_STREAMS && wxUSE_FILE
|
||||
#endif //wxUSE_FFILE
|
||||
|
||||
#endif // wxUSE_STREAMS
|
||||
|
||||
|
Reference in New Issue
Block a user