X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0834112f89c4c5da7864e17e6f483ce296798ce6..7dc3cc31af71522b8fc55b7f97bcba7f5ef9eac5:/src/common/sckipc.cpp diff --git a/src/common/sckipc.cpp b/src/common/sckipc.cpp index 488ea062ba..80fe44212d 100644 --- a/src/common/sckipc.cpp +++ b/src/common/sckipc.cpp @@ -23,11 +23,12 @@ #pragma hdrstop #endif -#if wxUSE_SOCKETS - #ifndef WX_PRECOMP +#include "wx/defs.h" #endif +#if wxUSE_SOCKETS + #include #include @@ -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