]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/sckipc.cpp
fix for private access for wxTimerProc
[wxWidgets.git] / src / common / sckipc.cpp
index 55fcb3104bd01e34ecd048fd674e32200300c691..7712f542698dbb254d82b3b297abd106fcd3ef62 100644 (file)
 #pragma implementation "sckipc.h"
 #endif
 
-#include <stdlib.h>
-#include <stdio.h>
+// For compilers that support precompilation, includes "wx.h".
+#include "wx/wxprec.h"
 
-#ifdef WXPREC
-#include <wx/wxprec.h>
-#else
-#include <wx/wx.h>
+#ifdef __BORLANDC__
+#pragma hdrstop
 #endif
 
+#ifndef WX_PRECOMP
+#endif
+
+#include <stdlib.h>
+#include <stdio.h>
+
 #include "wx/socket.h"
 #include "wx/sckipc.h"
 
@@ -164,11 +168,11 @@ bool wxTCPServer::Create(const wxString& server_name)
   return TRUE;
 }
 
-wxTCPServer::~wxTCPServer (void)
+wxTCPServer::~wxTCPServer(void)
 {
 }
 
-wxConnectionBase *wxTCPServer::OnAcceptConnection(const wxString& topic)
+wxConnectionBase *wxTCPServer::OnAcceptConnection( const wxString& WXUNUSED(topic) )
 {
   return new wxTCPConnection();
 }
@@ -190,7 +194,7 @@ wxTCPConnection::~wxTCPConnection (void)
   wxDELETE(m_sockstrm);
 }
 
-void wxTCPConnection::Compress(bool on)
+void wxTCPConnection::Compress(bool WXUNUSED(on))
 {
   // Use wxLZWStream
 }