X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/01f3d2752a98159d7c119ce6fdb5645a75197d11..8d3166e8acbbc8d351bdc94e507ef5712ffbfd37:/src/common/sckipc.cpp diff --git a/src/common/sckipc.cpp b/src/common/sckipc.cpp index 5658e064b2..03712a890a 100644 --- a/src/common/sckipc.cpp +++ b/src/common/sckipc.cpp @@ -126,7 +126,7 @@ public: private: DECLARE_EVENT_TABLE() - DECLARE_NO_COPY_CLASS(wxTCPEventHandler) + wxDECLARE_NO_COPY_CLASS(wxTCPEventHandler); }; enum @@ -161,7 +161,7 @@ private: static wxTCPEventHandler *ms_handler; DECLARE_DYNAMIC_CLASS(wxTCPEventHandlerModule) - DECLARE_NO_COPY_CLASS(wxTCPEventHandlerModule) + wxDECLARE_NO_COPY_CLASS(wxTCPEventHandlerModule); }; IMPLEMENT_DYNAMIC_CLASS(wxTCPEventHandlerModule, wxModule) @@ -184,11 +184,11 @@ public: // ctor initializes all the streams on top of the given socket // // note that we use a bigger than default buffer size which matches the - // typical Ethernet MTU + // typical Ethernet MTU (minus TCP header overhead) wxIPCSocketStreams(wxSocketBase& sock) : m_socketStream(sock), #ifdef USE_BUFFER - m_bufferedOut(m_socketStream, 1500), + m_bufferedOut(m_socketStream, 1448), #else m_bufferedOut(m_socketStream), #endif @@ -282,7 +282,7 @@ private: wxDataInputStream m_dataIn; wxDataOutputStream m_dataOut; - DECLARE_NO_COPY_CLASS(wxIPCSocketStreams) + wxDECLARE_NO_COPY_CLASS(wxIPCSocketStreams); }; namespace @@ -339,7 +339,7 @@ public: private: wxIPCSocketStreams& m_streams; - DECLARE_NO_COPY_CLASS(IPCOutput) + wxDECLARE_NO_COPY_CLASS(IPCOutput); }; } // anonymous namespace