Remove explicit check for Windows 7
This commit is contained in:
@@ -67,10 +67,6 @@ bool wxWebViewEdge::IsAvailable()
|
|||||||
|
|
||||||
bool wxWebViewEdge::Initialize()
|
bool wxWebViewEdge::Initialize()
|
||||||
{
|
{
|
||||||
// WebView2 is only available for Windows 7 or newer
|
|
||||||
if (!wxCheckOsVersion(6, 1))
|
|
||||||
return false;
|
|
||||||
|
|
||||||
if (!ms_loaderDll.Load("WebView2Loader.dll", wxDL_DEFAULT | wxDL_QUIET))
|
if (!ms_loaderDll.Load("WebView2Loader.dll", wxDL_DEFAULT | wxDL_QUIET))
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user