X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/38caaa61b154f60871cb6ec82040362762dd2dba..8beeef5f05e31bca568bfe0e654f8c89cd8689a6:/include/wx/datstrm.h?ds=sidebyside diff --git a/include/wx/datstrm.h b/include/wx/datstrm.h index 74e5375e31..f1043cb33d 100644 --- a/include/wx/datstrm.h +++ b/include/wx/datstrm.h @@ -25,6 +25,8 @@ class WXDLLEXPORT wxDataInputStream public: wxDataInputStream(wxInputStream& s); ~wxDataInputStream(); + + bool IsOk() { return m_input->IsOk(); } wxUint32 Read32(); wxUint16 Read16(); @@ -55,6 +57,8 @@ public: wxDataOutputStream(wxOutputStream& s); ~wxDataOutputStream(); + bool IsOk() { return m_output->IsOk(); } + void Write32(wxUint32 i); void Write16(wxUint16 i); void Write8(wxUint8 i);