X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c86f1403c3737c07d58676a203f4707942684a01..30c710fd9dc015ba7d4f24c14e18a37a67733070:/include/wx/file.h?ds=sidebyside 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