Document wxWebResponse pointers as being non-owning
wxWebResponse objects belong to wxWebRequest itself.
This commit is contained in:
@@ -291,7 +291,7 @@ public:
|
||||
|
||||
private:
|
||||
wxWebRequest::State m_state;
|
||||
wxWebResponse* m_response;
|
||||
wxWebResponse* m_response; // non-owning, may be NULL
|
||||
wxString m_responseFileName;
|
||||
const void* m_data;
|
||||
size_t m_dataSize;
|
||||
|
@@ -177,6 +177,9 @@ public:
|
||||
|
||||
Before sending a request or after a failed request this will return
|
||||
@c NULL.
|
||||
|
||||
Note that this pointer remains owned by wxWebRequest object and must
|
||||
not be freed.
|
||||
*/
|
||||
wxWebResponse* GetResponse() const;
|
||||
|
||||
|
Reference in New Issue
Block a user