From: Steve Lamerton Date: Sun, 28 Oct 2012 21:01:06 +0000 (+0000) Subject: Document which wxWebView methods must wait for a page load before being called. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/d8088f27c5abb19a1f4a99cf9064bfb85181b657 Document which wxWebView methods must wait for a page load before being called. Closes #14768 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72812 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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;