Allow using a fixed version with wxWebViewEdge

A fixed version may be distributed with the application
and wxWebViewEdge::MSWSetBrowserExecutableDir() allows
it's usage with wxWebViewEdge.
This commit is contained in:
Tobias Taschner
2021-02-03 16:12:25 +01:00
parent 49fcd34335
commit 489afb3336
5 changed files with 32 additions and 2 deletions

View File

@@ -66,6 +66,7 @@ public:
ICoreWebView2Settings* GetSettings();
static wxDynamicLibrary ms_loaderDll;
static wxString ms_browserExecutableDir;
static bool Initialize();

View File

@@ -122,6 +122,8 @@ public:
virtual void* GetNativeBackend() const wxOVERRIDE;
static void MSWSetBrowserExecutableDir(const wxString& path);
protected:
virtual void DoSetPage(const wxString& html, const wxString& baseUrl) wxOVERRIDE;