either the old file couldn't be deleted or that the new file couldn't be renamed
to the old name.
*/
- bool Commit();
+ virtual bool Commit();
/**
Discard changes: the old file contents are not changed, the temporary file is
deleted.
*/
- void Discard();
+ virtual void Discard();
};
Initializes a file stream in write-only mode using the file descriptor @e fp.
*/
wxFFileOutputStream(const wxString& filename,
- const wxString& mode = "w+b");
+ const wxString& mode = "wb");
/**
Initializes a file stream in write-only mode using the file I/O object file.
/**
Destructor.
*/
- ~wxFFileOutputStream();
+ virtual ~wxFFileOutputStream();
/**
Returns @true if the stream is initialized and ready.
/**
Destructor.
*/
- ~wxFileOutputStream();
+ virtual ~wxFileOutputStream();
/**
Returns @true if the stream is initialized and ready.
/**
Destructor.
*/
- ~wxFileInputStream();
+ virtual ~wxFileInputStream();
/**
Returns @true if the stream is initialized and ready.
/**
Destructor.
*/
- ~wxFFileInputStream();
+ virtual ~wxFFileInputStream();
/**
Returns @true if the stream is initialized and ready.