X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/589c1174f4dd9ccd5b7fc941e3d239888e1a8653..65fb4b3a4f18e1d8b58ac92d50d4cc7f81f03783:/samples/ipc/server.h diff --git a/samples/ipc/server.h b/samples/ipc/server.h index 23959382ff..a81a4421cc 100644 --- a/samples/ipc/server.h +++ b/samples/ipc/server.h @@ -78,9 +78,9 @@ public: wxString m_advise; protected: - // the data returned by last OnRequest(): we keep it in this wxString to + // the data returned by last OnRequest(): we keep it in this buffer to // ensure that the pointer we return from OnRequest() stays valid - wxString m_requestData; + wxCharBuffer m_requestData; }; class MyServer : public wxServer