X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/54da4255a20216b070ec044ae2b8af75e9f2681f..559fe022dbd5d4d961402b5c973e5225fa91f17f:/include/wx/sckipc.h?ds=sidebyside diff --git a/include/wx/sckipc.h b/include/wx/sckipc.h index 9cbc4735e5..08879516f0 100644 --- a/include/wx/sckipc.h +++ b/include/wx/sckipc.h @@ -63,9 +63,9 @@ protected: friend class wxTCPServer; friend class wxTCPClient; friend void Client_OnRequest(wxSocketBase&, - GSocketEvent, char *); + wxSocketNotify, char *); friend void Server_OnRequest(wxSocketServer&, - GSocketEvent, char *); + wxSocketNotify, char *); public: wxTCPConnection(char *buffer, int size); @@ -73,7 +73,7 @@ public: virtual ~wxTCPConnection(); // Calls that CLIENT can make - bool Execute(wxChar *data, int size = -1, + bool Execute(const wxChar *data, int size = -1, wxIPCFormat format = wxIPC_TEXT); char *Request(const wxString& item, int *size = NULL, wxIPCFormat format = wxIPC_TEXT);