X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f41d6c8cd750a9ea532ce66350615829c95f6ff2..a70ab3b804b6c363f8bcbed0b4fce94b7fb03612:/interface/wx/file.h diff --git a/interface/wx/file.h b/interface/wx/file.h index 2522be80e1..4f693d2dea 100644 --- a/interface/wx/file.h +++ b/interface/wx/file.h @@ -297,7 +297,7 @@ public: /** Closes the file. */ - void Close(); + bool Close(); /** Creates a file for writing. @@ -378,7 +378,7 @@ public: An OR-combination of wxPosixPermissions enumeration values. */ bool Open(const wxString& filename, - wxFile::OpenMode mode = wxFile::read, + bool Open(const wxString& filename, wxFile::OpenMode mode = wxFile::read, int access = wxS_DEFAULT); /** @@ -391,7 +391,7 @@ public: @return The number of bytes read, or the symbol wxInvalidOffset. */ - size_t Read(void* buffer, size_t count); + ssize_t Read(void* buffer, size_t count); /** Seeks to the specified position.