X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/605d715ddd84ddc3e78423e3f3ae5c27c8ff4d43..bf43ff9a903af9e4aa1fdfa72a6d048c0f4367db:/docs/latex/wx/http.tex diff --git a/docs/latex/wx/http.tex b/docs/latex/wx/http.tex index 7b878ead99..00879c582b 100644 --- a/docs/latex/wx/http.tex +++ b/docs/latex/wx/http.tex @@ -30,7 +30,7 @@ You will be notified when the EOF is reached by an error. \wxheading{Note} You can know the size of the file you are getting using \helpref{wxStreamBase::GetSize()}{wxstreambasegetsize}. -But there is a limitation: as HTTP servers aren't obliged to pass the size ofi +But there is a limitation: as HTTP servers aren't obliged to pass the size of the file, in some case, you will be returned 0xfffffff by GetSize(). In these cases, you should use the value returned by \helpref{wxInputStream::LastRead()}{wxinputstreamlastread}: this value will be 0 when the stream is finished.