]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/ipc/client.h
Reverted unnecessary fix
[wxWidgets.git] / samples / ipc / client.h
index 8c04e41c7f58fffd38864999fa5322088148c424..e08f9868c148bf958eface6ade27d6653144e1c2 100644 (file)
@@ -45,7 +45,7 @@ public:
 
     void OnExit(wxCommandEvent& event);
     void OnClose(wxCloseEvent& event);
-    void Enable();
+    void EnableControls();
     void Disconnect();
 
 protected:
@@ -83,12 +83,12 @@ class MyConnection: public wxConnection
 public:
     virtual bool Execute(const wxChar *data, int size = -1, wxIPCFormat format = wxIPC_TEXT);
     virtual wxChar *Request(const wxString& item, int *size = NULL, wxIPCFormat format = wxIPC_TEXT);
-    virtual bool Poke(const wxString& item, wxChar *data, int size = -1, wxIPCFormat format = wxIPC_TEXT);
+    virtual bool Poke(const wxString& item, const wxChar *data, int size = -1, wxIPCFormat format = wxIPC_TEXT);
     virtual bool OnAdvise(const wxString& topic, const wxString& item, wxChar *data, int size, wxIPCFormat format);
     virtual bool OnDisconnect();
-protected:    
+protected:
     void Log(const wxString& command, const wxString& topic,
-        const wxString& item, wxChar *data, int size, wxIPCFormat format);
+        const wxString& item, const wxChar *data, int size, wxIPCFormat format);
 };
 
 class MyClient: public wxClient
@@ -105,4 +105,3 @@ public:
 protected:
     MyConnection     *m_connection;
 };
-