Notify WebView2 API when minimizing a window with wxWebView

As suggested by the ICoreWebView2Controller documentation
call put_isVisible() when the window containing the
wxWebViewEdge is minimized/restored.
This commit is contained in:
Tobias Taschner
2021-02-07 21:48:02 +01:00
parent 623e6a4fc3
commit 334872e726
2 changed files with 15 additions and 0 deletions

View File

@@ -105,6 +105,8 @@ private:
void OnSize(wxSizeEvent& event);
void OnTopLevelParentIconized(wxIconizeEvent& event);
bool RunScriptSync(const wxString& javascript, wxString* output = NULL) const;
wxDECLARE_DYNAMIC_CLASS(wxWebViewEdge);