X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a97aaabf5c933c85e154b367f9328e06c0a191e3..2108f33a68772013d4e1c9dc2e476bb8ae77ad8f:/include/wx/file.h diff --git a/include/wx/file.h b/include/wx/file.h index a12d355507..11d935dacc 100644 --- a/include/wx/file.h +++ b/include/wx/file.h @@ -24,9 +24,6 @@ // constants // ---------------------------------------------------------------------------- -// error return value for Seek() functions -const off_t ofsInvalid = (off_t)-1; - // we redefine these constants here because S_IREAD &c are _not_ standard // however, we do assume that the values correspond to the Unix umask bits #define wxS_IRUSR 00400 @@ -118,7 +115,7 @@ public: bool Error() const { return m_error; } // dtor closes the file if opened - ~wxFile(); + virtual ~wxFile(); // Temporally virtual because of wxFileStream: I'll change back in a near future. private: // copy ctor and assignment operator are private because