Removing warnings

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5276 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Guillermo Rodriguez Garcia
2000-01-06 16:57:30 +00:00
parent 674ac8b919
commit 07e829dc26
3 changed files with 42 additions and 34 deletions

View File

@@ -23,11 +23,12 @@
#pragma hdrstop
#endif
#if wxUSE_SOCKETS
#ifndef WX_PRECOMP
#include "wx/defs.h"
#endif
#if wxUSE_SOCKETS
#include <stdlib.h>
#include <stdio.h>
@@ -41,7 +42,7 @@
IMPLEMENT_DYNAMIC_CLASS(wxTCPServer, wxServerBase)
IMPLEMENT_DYNAMIC_CLASS(wxTCPClient, wxClientBase)
IMPLEMENT_DYNAMIC_CLASS(wxTCPConnection, wxConnectionBase)
IMPLEMENT_CLASS(wxTCPConnection, wxConnectionBase)
// It seems to be already defined somewhere in the Xt includes.
#ifndef __XT__
@@ -62,11 +63,11 @@ enum {
#endif
void Server_OnRequest(wxSocketServer& server,
wxSocketNotify evt,
char *cdata);
wxSocketNotify evt,
char *cdata);
void Client_OnRequest(wxSocketBase& sock,
wxSocketNotify evt,
char *cdata);
wxSocketNotify evt,
char *cdata);
// ---------------------------------------------------------------------------
// wxTCPClient