]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/sckipc.cpp
O_BINARY added to wxFile::Create
[wxWidgets.git] / src / common / sckipc.cpp
index 5652d901ccf6fbd69959ed08bf8434ba11e0ddd2..b9e286ffbfbb4303041776f5fdf64451c2811d53 100644 (file)
 #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;