WebView Edge: Disable status bar

No other webview backend shows it's own integrated status bar
it's safe to assume applications would not expect it.
This commit is contained in:
Tobias Taschner
2020-12-16 15:11:48 +01:00
parent a5c2276965
commit a0848c2a45

View File

@@ -330,6 +330,10 @@ HRESULT wxWebViewEdgeImpl::OnWebViewCreated(HRESULT result, ICoreWebView2Control
m_pendingContextMenuEnabled = -1;
}
wxCOMPtr<ICoreWebView2Settings> settings(GetSettings());
if (settings)
settings->put_IsStatusBarEnabled(false);
if (!m_pendingURL.empty())
{
m_ctrl->LoadURL(m_pendingURL);