X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/aa8fb7a0164e989e09d2b78867633399a740f1d3..01dba85a7fc9a1103f866c7c3a5cc72f21c0784e:/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);