X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/aa8fb7a0164e989e09d2b78867633399a740f1d3..c76dd5a121b78f622f5a553d2e4a51e19f3b6780:/include/wx/sckipc.h diff --git a/include/wx/sckipc.h b/include/wx/sckipc.h index 586b0d06ef..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&, - wxSocketNotify, char *); + wxSocketNotify, char *); friend void Server_OnRequest(wxSocketServer&, - wxSocketNotify, 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);