Add wxWebView::IsBackendAvailable()

This allows to check if a specified backend has been registered before creation of a new instance
This commit is contained in:
Tobias Taschner
2020-01-09 11:52:47 +00:00
parent bb14c5f69b
commit 095a93e0c0
3 changed files with 16 additions and 0 deletions

View File

@@ -427,6 +427,14 @@ public:
static void RegisterFactory(const wxString& backend,
wxSharedPtr<wxWebViewFactory> factory);
/**
Allows to check if a specific backend is currently available
@since 3.1.4
*/
static bool IsBackendAvailable(const wxString& backend);
/**
Get the title of the current web page, or its URL/path if title is not
available.