]> git.saurik.com Git - wxWidgets.git/commitdiff
Document which wxWebView methods must wait for a page load before being called.
authorSteve Lamerton <steve.lamerton@gmail.com>
Sun, 28 Oct 2012 21:01:06 +0000 (21:01 +0000)
committerSteve Lamerton <steve.lamerton@gmail.com>
Sun, 28 Oct 2012 21:01:06 +0000 (21:01 +0000)
Closes #14768

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72812 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

interface/wx/webview.h

index 837a74a9c1180a07734fc07e97e97ac26b73c19b..d74c64cb88de954f621efbc1d281fe1d8cc728d6 100644 (file)
@@ -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;