- Add wxFile::ReadAll() for consistency with wxFFile.
- Add wxDateTime::DiffAsDateSpan() and wxDateSpan::GetTotalMonths() (jonasr).
- Add wxVector::assign() (Jonas Rydberg).
+- Add wx[F]File{Input,Output}Stream::GetFile() (troelsk).
- Added Nepali translation (Him Prasad Gautam).
All (GUI):
virtual bool IsOk() const;
bool IsSeekable() const { return m_file->GetKind() == wxFILE_KIND_DISK; }
+ wxFile* GetFile() const { return m_file; }
+
protected:
wxFileInputStream();
virtual bool IsOk() const;
bool IsSeekable() const { return m_file->GetKind() == wxFILE_KIND_DISK; }
+ wxFile* GetFile() const { return m_file; }
+
protected:
wxFileOutputStream();
virtual bool IsOk() const;
bool IsSeekable() const { return m_file->GetKind() == wxFILE_KIND_DISK; }
+ wxFFile* GetFile() const { return m_file; }
+
protected:
wxFFileInputStream();
virtual bool IsOk() const;
bool IsSeekable() const { return m_file->GetKind() == wxFILE_KIND_DISK; }
+ wxFFile* GetFile() const { return m_file; }
+
protected:
wxFFileOutputStream();
Returns @true if the stream is initialized and ready.
*/
bool IsOk() const;
+
+ /**
+ Returns the underlying file object.
+ @since 2.9.5
+ */
+ wxFFile* GetFile() const;
};
Returns @true if the stream is initialized and ready.
*/
bool IsOk() const;
+
+ /**
+ Returns the underlying file object.
+ @since 2.9.5
+ */
+ wxFile* GetFile() const;
};
Returns @true if the stream is initialized and ready.
*/
bool IsOk() const;
+
+ /**
+ Returns the underlying file object.
+ @since 2.9.5
+ */
+ wxFile* GetFile() const;
};
Returns @true if the stream is initialized and ready.
*/
bool IsOk() const;
+
+ /**
+ Returns the underlying file object.
+ @since 2.9.5
+ */
+ wxFFile* GetFile() const;
};