]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/sckipc.h
wxWindow::GetBestSize() added
[wxWidgets.git] / include / wx / sckipc.h
index 9cbc4735e5c15b7e65ebe8d1b1fc88201e3b5c34..08879516f005a2b721582ed29becd5b6b1fe6353 100644 (file)
@@ -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);