X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/53663be8a5ea8e1c6f178839209b67e8228e4642..eaff0f0d3f7828c2acd9ebde4979acc0b3fa43b5:/include/wx/datstrm.h?ds=sidebyside diff --git a/include/wx/datstrm.h b/include/wx/datstrm.h index c90ac629f2..190ff341aa 100644 --- a/include/wx/datstrm.h +++ b/include/wx/datstrm.h @@ -6,13 +6,13 @@ // 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__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "datstrm.h" #endif @@ -30,8 +30,8 @@ public: #else wxDataInputStream(wxInputStream& s); #endif - ~wxDataInputStream(); - + ~wxDataInputStream(){} + bool IsOk() { return m_input->IsOk(); } wxUint64 Read64(); @@ -78,7 +78,7 @@ public: #else wxDataOutputStream(wxOutputStream& s); #endif - ~wxDataOutputStream(); + ~wxDataOutputStream(){} bool IsOk() { return m_output->IsOk(); }