WebViewEdge: Forward window visibility to SDK

Tell the SDK controller if the control is shown or hidden.
This allows creating a hidden webview which will be shown later
and might fix other potential issues.
This commit is contained in:
Tobias Taschner
2020-11-05 09:27:20 +01:00
parent 412de05407
commit 2d9c08e0cc
2 changed files with 11 additions and 0 deletions

View File

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