-private:
- // to prevent virtual function hiding warnings
- virtual bool Execute(const wxString& str) { return(wxConnectionBase::Execute(str)); };
+
+ // unhide the Execute overload from wxConnectionBase
+ // FIXME-UTF8: change Execute() to DoExecute() to avoid having to do this;
+ // don't use c_str() below after removing ANSI build
+ virtual bool Execute(const wxString& str)
+ { return Execute(str.c_str(), -1, wxIPC_TEXT); }
+
+protected:
+ wxSocketBase *m_sock;
+ wxSocketStream *m_sockstrm;
+ wxDataInputStream *m_codeci;
+ wxDataOutputStream *m_codeco;
+ wxString m_topic;
+
+ friend class wxTCPServer;
+ friend class wxTCPClient;
+ friend class wxTCPEventHandler;
+
+ DECLARE_NO_COPY_CLASS(wxTCPConnection)