X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/53663be8a5ea8e1c6f178839209b67e8228e4642..2f27c88987b5bea88ea2520e342ef2a0767021bc:/include/wx/datstrm.h diff --git a/include/wx/datstrm.h b/include/wx/datstrm.h index c90ac629f2..7551c3c24b 100644 --- a/include/wx/datstrm.h +++ b/include/wx/datstrm.h @@ -6,16 +6,12 @@ // Created: 28/06/1998 // RCS-ID: $Id$ // Copyright: (c) Guilhem Lavaux -// Licence: wxWindows licence +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// #ifndef _WX_DATSTREAM_H_ #define _WX_DATSTREAM_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "datstrm.h" -#endif - #include "wx/stream.h" #include "wx/longlong.h" #include "wx/strconv.h" @@ -30,8 +26,8 @@ public: #else wxDataInputStream(wxInputStream& s); #endif - ~wxDataInputStream(); - + ~wxDataInputStream(){} + bool IsOk() { return m_input->IsOk(); } wxUint64 Read64(); @@ -78,7 +74,7 @@ public: #else wxDataOutputStream(wxOutputStream& s); #endif - ~wxDataOutputStream(); + ~wxDataOutputStream(){} bool IsOk() { return m_output->IsOk(); }