X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e25cd7750c571191ce69438de5f7c0293d1b5270..a70ab3b804b6c363f8bcbed0b4fce94b7fb03612:/interface/wx/wfstream.h diff --git a/interface/wx/wfstream.h b/interface/wx/wfstream.h index c93e57b7be..596152b5fe 100644 --- a/interface/wx/wfstream.h +++ b/interface/wx/wfstream.h @@ -39,13 +39,13 @@ public: 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(); }; @@ -72,7 +72,7 @@ public: 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. @@ -87,7 +87,7 @@ public: /** Destructor. */ - ~wxFFileOutputStream(); + virtual ~wxFFileOutputStream(); /** Returns @true if the stream is initialized and ready. @@ -133,7 +133,7 @@ public: /** Destructor. */ - ~wxFileOutputStream(); + virtual ~wxFileOutputStream(); /** Returns @true if the stream is initialized and ready. @@ -179,7 +179,7 @@ public: /** Destructor. */ - ~wxFileInputStream(); + virtual ~wxFileInputStream(); /** Returns @true if the stream is initialized and ready. @@ -226,7 +226,7 @@ public: /** Destructor. */ - ~wxFFileInputStream(); + virtual ~wxFFileInputStream(); /** Returns @true if the stream is initialized and ready.