X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/54da4255a20216b070ec044ae2b8af75e9f2681f..1be7f92adb9b0140ccbbc7a5b4d2731da0318837:/include/wx/sckipc.h 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);