virtual ~wxTempFileOutputStream();
bool Close() { return Commit(); }
- virtual bool Commit() { return m_file->Commit(); }
- virtual void Discard() { m_file->Discard(); }
+ WXDLLIMPEXP_INLINE_BASE virtual bool Commit() { return m_file->Commit(); }
+ WXDLLIMPEXP_INLINE_BASE virtual void Discard() { m_file->Discard(); }
wxFileOffset GetLength() const { return m_file->Length(); }
bool IsSeekable() const { return true; }
class WXDLLIMPEXP_BASE wxFFileOutputStream : public wxOutputStream
{
public:
- wxFFileOutputStream(const wxString& fileName, const wxString& mode = "w+b");
+ wxFFileOutputStream(const wxString& fileName, const wxString& mode = "wb");
wxFFileOutputStream(wxFFile& file);
wxFFileOutputStream(FILE *file);
virtual ~wxFFileOutputStream();
public wxFFileOutputStream
{
public:
- wxFFileStream(const wxString& fileName);
+ wxFFileStream(const wxString& fileName, const wxString& mode = "w+b");
virtual bool IsOk() const;
private: