Allow usage of static loader with wxWebViewEdge

Add a new build option wxUSE_WEBVIEW_EDGE_STATIC.
If it is set to 1 the WebView2 loader is static linked into the binary
and removes the runtime dependency on WebView2Loader.dll.
This commit is contained in:
Tobias Taschner 2022-02-02 22:39:28 +01:00 committed by Tobias Taschner
parent f0c6b42ad0
commit 57ebad4f7d
No known key found for this signature in database
GPG key ID: AE6ECD71294F87FD
15 changed files with 95 additions and 5 deletions

View file

@ -332,6 +332,8 @@
#define wxUSE_WEBVIEW_EDGE 0
#define wxUSE_WEBVIEW_EDGE_STATIC 0
#if (defined(__WXGTK__) && !defined(__WXGTK3__)) || defined(__WXOSX__)
#define wxUSE_WEBVIEW_WEBKIT 0
#else