-
-// ----------------------------------------------------------------------------
-// wxFileStream
-// ----------------------------------------------------------------------------
-
-wxFileStream::wxFileStream(const wxString& fileName)
- : wxFileInputStream(), wxFileOutputStream()
-{
- m_file = new wxFile(fileName, wxFile::read_write);
- // Reread the initial buffer.
- m_i_streambuf->SetBufferIO(1024);
-}
-
-wxFileStream::~wxFileStream()
-{
- Sync();
- delete m_file;
-}