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:
parent
d0f56b1d04
commit
20a3317839
6 changed files with 24 additions and 17 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue