Mercurial > dwindows
diff dw.hpp @ 2932:3f660f47a45f
C++: Add HTML and ScrollBox pages to dwtestoo.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Fri, 30 Dec 2022 22:53:19 +0000 |
parents | 30c1f37713b6 |
children | 3cdb02171b01 |
line wrap: on
line diff
--- a/dw.hpp Fri Dec 30 14:35:45 2022 +0000 +++ b/dw.hpp Fri Dec 30 22:53:19 2022 +0000 @@ -1030,6 +1030,7 @@ // User functions void Action(int action) { dw_html_action(hwnd, action); } int JavascriptRun(const char *script, void *scriptdata) { return dw_html_javascript_run(hwnd, script, scriptdata); } + int JavascriptRun(const char *script) { return dw_html_javascript_run(hwnd, script, NULL); } int Raw(const char *buffer) { return dw_html_raw(hwnd, buffer); } int URL(const char *url) { return dw_html_url(hwnd, url); } #ifdef DW_LAMBDA