From 8c6ce2cd59742fc2d7ce61848a58dbc862de7580 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sat, 21 Oct 2017 23:10:42 +0200 Subject: [PATCH] Improve RunScript() error message when using old WebKit Don't put WebKit in all capitals and, more importantly, make it clear that this is related to running JavaScript to the user. --- src/gtk/webview_webkit.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gtk/webview_webkit.cpp b/src/gtk/webview_webkit.cpp index 0430ff364d..5f82094ec4 100644 --- a/src/gtk/webview_webkit.cpp +++ b/src/gtk/webview_webkit.cpp @@ -953,7 +953,7 @@ bool wxWebViewWebKit::RunScript(const wxString& javascript, wxString* output) { if ( output != NULL ) { - wxLogWarning(_("Returning output is not supported on WEBKIT1")); + wxLogWarning(_("Retrieving JavaScript script output is not supported with WebKit v1")); return false; }