X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f6e7cd0a1905d0d8389e315dc31808c3ebb7e4b8..e27c99c7504d9168ee0ddd6043f942fd230027bc:/include/wx/stream.h diff --git a/include/wx/stream.h b/include/wx/stream.h index 151dd0bca4..c868ddb17b 100644 --- a/include/wx/stream.h +++ b/include/wx/stream.h @@ -12,7 +12,7 @@ #ifndef _WX_WXSTREAM_H__ #define _WX_WXSTREAM_H__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "stream.h" #endif @@ -232,6 +232,8 @@ protected: size_t m_wbackcur; friend class wxStreamBuffer; + + DECLARE_NO_COPY_CLASS(wxInputStream) }; // ---------------------------------------------------------------------------- @@ -264,6 +266,8 @@ protected: virtual size_t OnSysWrite(const void *buffer, size_t bufsize); friend class wxStreamBuffer; + + DECLARE_NO_COPY_CLASS(wxOutputStream) }; // ============================================================================ @@ -288,6 +292,8 @@ protected: virtual off_t OnSysTell() const; size_t m_currentPos; + + DECLARE_NO_COPY_CLASS(wxCountingOutputStream) }; // ---------------------------------------------------------------------------