diff --git a/interface/wx/webview.h b/interface/wx/webview.h index 837a74a9c1..d74c64cb88 100644 --- a/interface/wx/webview.h +++ b/interface/wx/webview.h @@ -410,6 +410,8 @@ public: /** Runs the given javascript code. + @note When using wxWEB_VIEW_BACKEND_IE you must wait for the current + page to finish loading before calling RunScript(). */ virtual void RunScript(const wxString& javascript) = 0; @@ -425,6 +427,8 @@ public: @param html The string that contains the HTML data to display. @param baseUrl URL assigned to the HTML data, to be used to resolve relative paths, for instance. + @note When using wxWEB_VIEW_BACKEND_IE you must wait for the current + page to finish loading before calling SetPage(). */ virtual void SetPage(const wxString& html, const wxString& baseUrl) = 0;