Add wxWebSession::GetLibraryVersionInfo()

This commit is contained in:
Tobias Taschner
2018-11-06 22:39:13 +01:00
parent 4af4dd6cbf
commit 45f006d752
7 changed files with 37 additions and 1 deletions

View File

@@ -524,4 +524,12 @@ wxWebRequest* wxWebSessionWinHTTP::CreateRequest(const wxString& url, int id)
return new wxWebRequestWinHTTP(id, *this, url);
}
wxVersionInfo wxWebSessionWinHTTP::GetLibraryVersionInfo()
{
int verMaj, verMin, verMicro;
wxGetOsVersion(&verMaj, &verMin, &verMicro);
return wxVersionInfo("WinHTTP", verMaj, verMin, verMicro);
}
#endif // wxUSE_WEBREQUEST_WINHTTP