X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/93e0db9a80d880a15d3a8eb25c3db01f63392038..3b01b1fe4cb656f39290bf7f3891667855abe601:/include/wx/file.h diff --git a/include/wx/file.h b/include/wx/file.h index e4ed0193f2..b767d0a4a0 100644 --- a/include/wx/file.h +++ b/include/wx/file.h @@ -110,13 +110,13 @@ public: // file pointer operations (return ofsInvalid on failure) // move ptr ofs bytes related to start/current off_t/end of file - wxFileOffset Seek(wxFileOffset ofs, wxSeekMode mode = wxFromStart); + wxFileSize_t Seek(wxFileOffset ofs, wxSeekMode mode = wxFromStart); // move ptr to ofs bytes before the end - wxFileOffset SeekEnd(wxFileOffset ofs = 0) { return Seek(ofs, wxFromEnd); } + wxFileSize_t SeekEnd(wxFileOffset ofs = 0) { return Seek(ofs, wxFromEnd); } // get current off_t - wxFileOffset Tell() const; + wxFileSize_t Tell() const; // get current file length - wxFileOffset Length() const; + wxFileSize_t Length() const; // simple accessors // is file opened?