bool Error() const { return m_error; }
// dtor closes the file if opened
- virtual ~wxFile(); // Temporally virtual because of wxFileStream: I'll change back in a near future.
+ ~wxFile();
private:
// copy ctor and assignment operator are private because
~wxTempFile();
private:
+ // no copy ctor/assignment operator
+ wxTempFile(const wxTempFile&);
+ wxTempFile& operator=(const wxTempFile&);
+
wxString m_strName, // name of the file to replace in Commit()
m_strTemp; // temporary file name
wxFile m_file; // the temporary file