Rename wxWebRequestEvent::GetResponseFileName() to GetDataFile()

This is shorter and doesn't imply that just the name (and not the full
path) is being returned.

Also rename wxWebResponse::GetFileName() to GetDataFile() for the same
reasons and for consistency. And document this previously undocumented
method.
This commit is contained in:
Vadim Zeitlin
2021-01-12 03:34:40 +01:00
parent d0f56b1d04
commit 20a3317839
6 changed files with 24 additions and 17 deletions

View File

@@ -78,7 +78,7 @@ public:
case wxWebRequest::State_Completed:
if ( request.GetStorage() == wxWebRequest::Storage_File )
{
wxFileName fn(evt.GetResponseFileName());
wxFileName fn(evt.GetDataFile());
REQUIRE( fn.GetSize() == expectedFileSize );
}
wxFALLTHROUGH;