X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c86f1403c3737c07d58676a203f4707942684a01..721b32e05823b7b7356f9a7a99f7d0af457dc5f3:/include/wx/file.h diff --git a/include/wx/file.h b/include/wx/file.h index 31c2aa6699..50074970d3 100644 --- a/include/wx/file.h +++ b/include/wx/file.h @@ -120,7 +120,7 @@ public: 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 @@ -169,6 +169,10 @@ public: ~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