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
This commit is contained in:
Steve Lamerton
2012-10-28 21:01:06 +00:00
parent 0c1182328f
commit d8088f27c5

View File

@@ -410,6 +410,8 @@ public:
/** /**
Runs the given javascript code. 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; virtual void RunScript(const wxString& javascript) = 0;
@@ -425,6 +427,8 @@ public:
@param html The string that contains the HTML data to display. @param html The string that contains the HTML data to display.
@param baseUrl URL assigned to the HTML data, to be used to resolve @param baseUrl URL assigned to the HTML data, to be used to resolve
relative paths, for instance. 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; virtual void SetPage(const wxString& html, const wxString& baseUrl) = 0;