]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/sckstrm.h
- Include wxCocoa specific header
[wxWidgets.git] / include / wx / sckstrm.h
index 6ef70e4e91b0dfdab398189519e3d58fe439271b..b6a060d29864b8d588ddb532ce8b0f3b7c08a654 100644 (file)
@@ -11,7 +11,7 @@
 #ifndef __SCK_STREAM_H__
 #define __SCK_STREAM_H__
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(__APPLE__)
 #pragma interface
 #endif
 
@@ -36,6 +36,8 @@ class WXDLLEXPORT wxSocketOutputStream : public wxOutputStream
   wxSocketBase *m_o_socket;
 
   size_t OnSysWrite(const void *buffer, size_t bufsize);
+
+    DECLARE_NO_COPY_CLASS(wxSocketOutputStream)
 };
 
 class WXDLLEXPORT wxSocketInputStream : public wxInputStream
@@ -53,6 +55,8 @@ class WXDLLEXPORT wxSocketInputStream : public wxInputStream
   wxSocketBase *m_i_socket;
 
   size_t OnSysRead(void *buffer, size_t bufsize);
+
+    DECLARE_NO_COPY_CLASS(wxSocketInputStream)
 };
 
 class WXDLLEXPORT wxSocketStream : public wxSocketInputStream,