Add RunScript and implement on all backends. Document and add a very simple unit test.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68275 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -792,6 +792,12 @@ wxString wxWebViewWebKit::GetPageText()
|
||||
wxConvUTF8);
|
||||
}
|
||||
|
||||
void wxWebViewWebKit::RunScript(const wxString& javascript)
|
||||
{
|
||||
webkit_web_view_execute_script(WEBKIT_WEB_VIEW(web_view),
|
||||
javascript.mb_str(wxConvUTF8));
|
||||
}
|
||||
|
||||
// static
|
||||
wxVisualAttributes
|
||||
wxWebViewWebKit::GetClassDefaultAttributes(wxWindowVariant WXUNUSED(variant))
|
||||
|
Reference in New Issue
Block a user