X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bd595142ac07961d383a7b60d64cb77441211759..6dd16e4f26490f1f4f2be1204840cbf4ecf74a35:/include/wx/socket.h diff --git a/include/wx/socket.h b/include/wx/socket.h index b8ebcb846b..d52e133473 100644 --- a/include/wx/socket.h +++ b/include/wx/socket.h @@ -12,7 +12,7 @@ #ifndef _WX_NETWORK_SOCKET_H #define _WX_NETWORK_SOCKET_H -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "socket.h" #endif @@ -33,6 +33,7 @@ #include "wx/sckaddr.h" #include "wx/gsocket.h" +#include "wx/list.h" // ------------------------------------------------------------------------ // Types and constants @@ -260,6 +261,8 @@ private: wxSockCbk m_cbk; // callback char *m_cdata; // callback data #endif // WXWIN_COMPATIBILITY + + DECLARE_NO_COPY_CLASS(wxSocketBase) };