Add wxWebView::GetBackendVersionInfo()

Allows to get the WebView backend version if available
Currently implemented for IE, Edge and webkit2.
This commit is contained in:
Tobias Taschner
2021-02-03 18:05:41 +01:00
parent 489afb3336
commit 0d82348328
11 changed files with 74 additions and 0 deletions

View File

@@ -507,6 +507,16 @@ wxgtk_authorize_authenticated_peer_cb(GDBusAuthObserver *,
} // extern "C"
//-----------------------------------------------------------------------------
// wxWebViewFactoryWebKit
//-----------------------------------------------------------------------------
wxVersionInfo wxWebViewFactoryWebKit::GetVersionInfo()
{
return wxVersionInfo("webkit2", webkit_get_major_version(),
webkit_get_minor_version(), webkit_get_micro_version());
}
//-----------------------------------------------------------------------------
// wxWebViewWebKit
//-----------------------------------------------------------------------------