Document wxWebResponse::GetContentLength()

Also change its return type from wxInt64 to wxFileOffset for consistency
with all the other length/progress-related functions in wxWebRequest.
This commit is contained in:
Vadim Zeitlin
2021-01-12 03:25:16 +01:00
parent 3da03b3b7b
commit d0f56b1d04
9 changed files with 20 additions and 10 deletions

View File

@@ -24,7 +24,7 @@ class wxWebResponseWinHTTP : public wxWebResponseImpl
public:
wxWebResponseWinHTTP(wxWebRequestWinHTTP& request);
wxInt64 GetContentLength() const wxOVERRIDE { return m_contentLength; }
wxFileOffset GetContentLength() const wxOVERRIDE { return m_contentLength; }
wxString GetURL() const wxOVERRIDE;
@@ -40,7 +40,7 @@ public:
private:
HINTERNET m_requestHandle;
wxInt64 m_contentLength;
wxFileOffset m_contentLength;
wxDECLARE_NO_COPY_CLASS(wxWebResponseWinHTTP);
};