application/main.c

changeset 1016
ccde46662db7
parent 1004
8b8d4f8af38e
--- a/application/main.c	Wed Dec 17 18:31:20 2025 +0100
+++ b/application/main.c	Thu Dec 18 17:50:15 2025 +0100
@@ -783,7 +783,7 @@
         ui_tab(obj, "Tab 9") {
 #ifdef UI_WEBVIEW
           ui_webview(obj, .fill = TRUE, .value = doc->web);
-          cxstring html = CX_STR("<html><body><h1>Hello Toolkit</h1><p>Toolkit WebView</p></body></html>");
+          cxstring html = cx_str("<html><body><h1>Hello Toolkit</h1><p>Toolkit WebView</p></body></html>");
           ui_webview_load_content(doc->web, "mypage", html.ptr, html.length, NULL, NULL);
 #else
           ui_label(obj, .label = "Webview is not supported");

mercurial