really ensure that the pointer returned from MyConnection::OnRequest() remains valid
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56816 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user