X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/47fc03d21ab5b2d88959b6650a0151fb2c241c30..390015c0ee28d25b0b7e23c42a52733adcac334f:/include/wx/stream.h diff --git a/include/wx/stream.h b/include/wx/stream.h index 00bf592d09..488d1905dc 100644 --- a/include/wx/stream.h +++ b/include/wx/stream.h @@ -12,8 +12,8 @@ #ifndef _WX_WXSTREAM_H__ #define _WX_WXSTREAM_H__ -#ifdef __GNUG__ -#pragma interface +#if defined(__GNUG__) && !defined(__APPLE__) +#pragma interface "stream.h" #endif #include "wx/defs.h" @@ -122,9 +122,6 @@ public: // Operators wxInputStream& operator>>(wxOutputStream& out) { return Read(out); } -#if wxUSE_SERIAL - wxInputStream& operator>>(wxObject *& obj); -#endif wxInputStream& operator>>( __wxInputManip func) { return func(*this); } protected: @@ -161,9 +158,6 @@ public: virtual void Sync(); wxOutputStream& operator<<(wxInputStream& out) { return Write(out); } -#if wxUSE_SERIAL - wxOutputStream& operator<<(wxObject& obj); -#endif wxOutputStream& operator<<( __wxOutputManip func) { return func(*this); } protected: