Change default wxWebViewIE offline behavior
Allow opening web pages using this backend on systems without any network connection too. See https://github.com/wxWidgets/wxWidgets/pull/1133
This commit is contained in:
@@ -110,6 +110,10 @@ bool wxWebViewIE::Create(wxWindow* parent,
|
|||||||
|
|
||||||
EnableControlFeature(21 /* FEATURE_DISABLE_NAVIGATION_SOUNDS */);
|
EnableControlFeature(21 /* FEATURE_DISABLE_NAVIGATION_SOUNDS */);
|
||||||
|
|
||||||
|
// Make behaviour consistent with the other backends when loading localhost
|
||||||
|
// pages without any physical network connection.
|
||||||
|
SetOfflineMode(false);
|
||||||
|
|
||||||
LoadURL(url);
|
LoadURL(url);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user