X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6e31e940637b08f56e23321b4b6df8e52fe31ca3..312cd9e93d7c0bf201e52297741e8e12a7298fc9:/src/common/sckipc.cpp diff --git a/src/common/sckipc.cpp b/src/common/sckipc.cpp index 5652d901cc..b9e286ffbf 100644 --- a/src/common/sckipc.cpp +++ b/src/common/sckipc.cpp @@ -35,11 +35,9 @@ #pragma hdrstop #endif -#if !USE_SHARED_LIBRARY IMPLEMENT_DYNAMIC_CLASS(wxTCPServer, wxServerBase) IMPLEMENT_DYNAMIC_CLASS(wxTCPClient, wxClientBase) IMPLEMENT_DYNAMIC_CLASS(wxTCPConnection, wxConnectionBase) -#endif // It seems to be already defined somewhere in the Xt includes. #ifndef __XT__ @@ -135,7 +133,6 @@ wxConnectionBase *wxTCPClient::MakeConnection (const wxString& host, delete client; return NULL; } - return NULL; } wxConnectionBase *wxTCPClient::OnMakeConnection() @@ -215,7 +212,7 @@ bool wxTCPConnection::Disconnect () return TRUE; } -bool wxTCPConnection::Execute (wxChar *data, int size, wxIPCFormat format) +bool wxTCPConnection::Execute (const wxChar *data, int size, wxIPCFormat format) { if (!m_sock->IsConnected()) return FALSE;